[mythtv] [PATCH] mythfilldatabase: nitpicking

Stefan Frank sfr+lists at 6913304088794.gnuu.de
Sun Oct 5 21:56:57 EDT 2003


Minor correction to mythfilldatabase. Adds -h to display help text.

Bye, Stefan

-- 
When I woke up this morning, my girlfriend asked if I had slept well.
I said, "No, I made a few mistakes."
		-- Steven Wright
-------------- next part --------------
--- /home/sfr/mythtv/mythtv/programs/mythfilldatabase/filldata.cpp	2003-08-27 17:41:50.000000000 +0200
+++ filldata.cpp	2003-10-05 20:52:37.000000000 +0200
@@ -1713,7 +1717,8 @@
              quiet = true;
              ++argpos;
         }
-        else if (!strcmp(a.argv()[argpos], "--help"))
+        else if (!strcmp(a.argv()[argpos], "-h") ||
+                 !strcmp(a.argv()[argpos], "--help"))
         {
             cout << "usage:\n";
             cout << "--manual\n";
@@ -1726,8 +1731,8 @@
             cout << "\n";
             cout << "--preset\n";
             cout << "   Use it in case that you want to assign a preset number for\n";
-            cout << "   each channel, useful for non US countries where the people\n";
-            cout << "   is used to assign a sequenced number for each channel, i.e.:\n";
+            cout << "   each channel, useful for non US countries where people\n";
+            cout << "   are used to assign a sequenced number for each channel, i.e.:\n";
             cout << "   1->TVE1(S41), 2->La 2(SE18), 3->TV3(21), 4->Canal 33(60)...\n";
             cout << "\n";
             cout << "--no-delete\n";


More information about the mythtv-dev mailing list