commit d1cfafd4095226e54980707a4e8cd5360239daa2
Author: Christophe Fergeau <[email protected]>
Date:   Sat Oct 24 11:52:34 2009 +0200

    test-cp: swap command line arguments, more natural this way

 tests/test-cp.cc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/test-cp.cc b/tests/test-cp.cc
index d2f2337..f185b11 100644
--- a/tests/test-cp.cc
+++ b/tests/test-cp.cc
@@ -108,11 +108,11 @@ int main (int argc, char **argv)
 
        if (argc != 3) {
                g_print ("Usage:\n");
-               g_print ("%s <mountpoint> <filename>\n", g_basename (argv[0]));
+               g_print ("%s <filename> <mountpoint> \n", g_basename (argv[0]));
                exit (1);
        }
 
-       db = itdb_parse (argv[1], NULL);
+       db = itdb_parse (argv[2], NULL);
        if (db == NULL) {
                return NULL;
        }
@@ -123,7 +123,7 @@ int main (int argc, char **argv)
        }
 
        error = NULL;
-       copy_file (db, argv[2], &error);
+       copy_file (db, argv[1], &error);
        if (error) {
                g_print ("Error reading music files\n");
                if (error->message) {

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to