implemented numeric sort (sort -g)
[oweals/busybox.git] / touch.c
diff --git a/touch.c b/touch.c
index c36ffca90ffe72a9a35d14097ee4eb065a3e1b67..d2d3e948405c102702d4de42f62e80d5d8d0267c 100644 (file)
--- a/touch.c
+++ b/touch.c
@@ -1,7 +1,9 @@
 /*
  * Mini touch implementation for busybox
  *
- * Copyright (C) 1998 by Erik Andersen <andersee@debian.org>
+ *
+ * Copyright (C) 1999 by Lineo, inc.
+ * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -28,8 +30,8 @@
 #include <errno.h>
 
 
-const char touch_usage[] = "touch [-c] file [file ...]\n\n"
-"\tUpdate the last-modified date on the given file[s].\n";
+static const char touch_usage[] = "touch [-c] file [file ...]\n\n"
+"Update the last-modified date on the given file[s].\n";
 
 
 
@@ -52,7 +54,7 @@ touch_main(int argc, char **argv)
                create = FALSE;
                break;
            default:
-               fprintf(stderr, "Unknown option: %c\n", **argv);
+               usage( touch_usage);
                exit( FALSE);
        }
        argc--;