]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
merge with 3.9a
authorJim Meyering <jim@meyering.net>
Tue, 26 Oct 1993 23:39:04 +0000 (23:39 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 26 Oct 1993 23:39:04 +0000 (23:39 +0000)
lib/userspec.c
src/df.c
src/install.c
src/ln.c
src/ls.c
src/mkdir.c
src/mkfifo.c
src/mknod.c
src/mv.c
src/touch.c

index fc93267f839ee543a9281b6b74291010534ddd02..37b7980b9f59b8ee62d6d9147f1fd50024d23946 100644 (file)
@@ -162,7 +162,7 @@ parse_user_spec (name, uid, gid, username, groupname)
              *groupname = malloc (15);
              if (*groupname == NULL)
                return tired;
-             sprintf (*groupname, "%u", pwd->pw_gid);
+             sprintf (*groupname, "%u", (unsigned) (pwd->pw_gid));
            }
          else
            {
index c73a739fa41e759bb1418bc9c4e0d20392342267..4a4ff34e94d3bf5325e78cc043a1d650ab517256 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -488,8 +488,8 @@ usage (status)
   -a, --all                 include filesystems having 0 blocks\n\
   -i, --inodes              list inode information instead of block usage\n\
   -k, --kilobytes           use 1024 blocks, not 512 despite POSIXLY_CORRECT\n\
-  -t, --type TYPE           limit the listing to TYPE filesystems type\n\
-  -x, --exclude-type TYPE   limit the listing to not TYPE filesystems type\n\
+  -t, --type=TYPE           limit the listing to TYPE filesystems type\n\
+  -x, --exclude-type=TYPE   limit the listing to not TYPE filesystems type\n\
   -v                        (ignored)\n\
   -P, --portability         use the POSIX output format\n\
       --help                display this help and exit\n\
index a5e795e3f212f47773966d5d2ca9de770306cda5..7c6a5d2f792d9417af7f3580a2ff92550e726bc4 100644 (file)
@@ -555,9 +555,9 @@ Usage: %s [OPTION]... SOURCE DEST           (1st format)\n\
 \n\
   -c                  (ignored)\n\
   -d, --directory     create [leading] directories, mandatory for 3rd format\n\
-  -g, --group GROUP   set group ownership, instead of process' current group\n\
-  -m, --mode MODE     set permission mode (as in chmod), instead of 0755\n\
-  -o, --owner OWNER   set ownership (super-user only)\n\
+  -g, --group=GROUP   set group ownership, instead of process' current group\n\
+  -m, --mode=MODE     set permission mode (as in chmod), instead of 0755\n\
+  -o, --owner=OWNER   set ownership (super-user only)\n\
   -s, --strip         strip symbol tables, only for 1st and 2nd formats\n\
       --help          display this help and exit\n\
       --version       output version information and exit\n");
index c154913f30f9676fe476003ca29ac3cc31079582..9cc48786124caea5d71af7c8f1c5cb8f611ddb59 100644 (file)
--- a/src/ln.c
+++ b/src/ln.c
@@ -371,8 +371,8 @@ Usage: %s [OPTION]... SOURCE [DEST]\n\
   -i, --interactive            prompt whether to remove destinations\n\
   -s, --symbolic               make symbolic links, instead of hard links\n\
   -v, --verbose                print name of each file before linking\n\
-  -S, --suffix SUFFIX          override the usual backup suffix\n\
-  -V, --version-control WORD   override the usual version control\n\
+  -S, --suffix=SUFFIX          override the usual backup suffix\n\
+  -V, --version-control=WORD   override the usual version control\n\
       --help                   display this help and exit\n\
       --version                output version information and exit\n\
 \n\
index 412759b7756b9b62cbdfea6c615ae32ed950735d..adfe143fbb5bd4d4300af61ae9cf713ded8c4a14 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -1905,36 +1905,34 @@ usage (status)
   -s, --size                 print block size of each file\n\
   -t                         sort by modification time; with -l: show mtime\n\
   -u                         sort by last access time; with -l: show atime\n\
-  -w, --width COLS           assume screen width instead of current value\n\
+  -w, --width=COLS           assume screen width instead of current value\n\
   -x                         list entries by lines instead of by columns\n\
   -A, --almost-all           do not list implied . and ..\n");
-
       printf ("\
   -B, --ignore-backups       do not list implied entries ending with ~\n\
   -C                         list entries by columns\n\
   -F, --classify             append a character for typing each entry\n\
   -G, --no-group             inhibit display of group information\n\
-  -I, --ignore PATTERN       do not list implied entries matching shell PATTERN\n\
+  -I, --ignore=PATTERN       do not list implied entries matching shell PATTERN\n\
   -L, --dereference          list entries pointed to by symbolic links\n\
   -N, --literal              do not quote entry names\n\
   -Q, --quote-name           enclose entry names in double quotes\n\
   -R, --recursive            list subdirectories recursively\n\
   -S                         sort by file size\n\
-  -T, --tabsize COLS         assume tab stops at each COLS instead of 8\n\
+  -T, --tabsize=COLS         assume tab stops at each COLS instead of 8\n\
   -U                         do not sort; list entries in directory order\n\
   -X                         sort alphabetically by entry extension\n\
   -1                         list one file per line\n\
       --full-time            list both full date and full time\n\
       --help                 display this help and exit\n\
-      --format WORD          across -x, commas -m, horizontal -x, long -l,\n\
+      --format=WORD          across -x, commas -m, horizontal -x, long -l,\n\
                                single-column -1, verbose -l, vertical -C\n\
-      --sort WORD            ctime -c, extension -X, none -U, size -S,\n\
+      --sort=WORD            ctime -c, extension -X, none -U, size -S,\n\
                                status -c, time -t\n\
-      --time WORD            atime -u, access -u, use -u\n\
+      --time=WORD            atime -u, access -u, use -u\n\
       --version              output version information and exit\n\
 \n\
 Sort entries alphabetically if none of -cftuSUX nor --sort.\n");
-
     }
   exit (status);
 }
index d0361d2610432e595952dd6708bc9d95934ecd64..234d34f55d53e7b4e759dfc1c9bc079ce57503d7 100644 (file)
@@ -154,7 +154,7 @@ usage (status)
       printf ("\
 \n\
   -p, --parents     no error if existing, make parent directories as needed\n\
-  -m, --mode MODE   set permission mode (as in chmod), not 0777 - umask\n\
+  -m, --mode=MODE   set permission mode (as in chmod), not 0777 - umask\n\
       --help        display this help and exit\n\
       --version     output version information and exit\n");
     }
index d358e183b1ee30c274b735e1dc4df47cbdb190ce..4977d58accc9672fd7d25a403f65096179caf48a 100644 (file)
@@ -141,7 +141,7 @@ usage (status)
       printf ("Usage: %s [OPTION] PATH...\n", program_name);
       printf ("\
 \n\
-  -m, --mode MODE   set permission mode (as in chmod), not 0666 - umask\n\
+  -m, --mode=MODE   set permission mode (as in chmod), not 0666 - umask\n\
       --help        display this help and exit\n\
       --version     output version information and exit\n");
     }
index 30bb7b6f78cc98c6325d80663858490ce02d65e3..d92754c5582a302aaeb9795f3cb82ea3a9271ec4 100644 (file)
@@ -176,7 +176,7 @@ usage (status)
       printf ("Usage: %s [OPTION]... PATH TYPE [MAJOR MINOR]\n", program_name);
       printf ("\
 \n\
-  -m, --mode MODE   set permission mode (as in chmod), not 0666 - umask\n\
+  -m, --mode=MODE   set permission mode (as in chmod), not 0666 - umask\n\
       --help        display this help and exit\n\
       --version     output version information and exit\n\
 \n\
index 0cc21d2d38fb574e00f77d3d778da55bf1134a7f..a79da4b86b0d4441c06b8c024d27c78e94c13fdd 100644 (file)
--- a/src/mv.c
+++ b/src/mv.c
@@ -489,8 +489,8 @@ Usage: %s [OPTION]... SOURCE DEST\n\
   -i, --interactive            prompt before overwrite\n\
   -u, --update                 move only older or brand new files\n\
   -v, --verbose                explain what is being done\n\
-  -S, --suffix SUFFIX          override the usual backup suffix\n\
-  -V, --version-control WORD   override the usual version control\n\
+  -S, --suffix=SUFFIX          override the usual backup suffix\n\
+  -V, --version-control=WORD   override the usual version control\n\
       --help                   display this help and exit\n\
       --version                output version information and exit\n\
 \n\
index 2b298e763c7a0e9e75ab63e551456631597351b8..b664fae57c3c3e285353139ab6ce04fd00aa898a 100644 (file)
@@ -389,13 +389,13 @@ usage (status)
 \n\
   -a                     change only the access time\n\
   -c                     do not create any files\n\
-  -d, --date STRING      parse STRING and use it instead of current time\n\
+  -d, --date=STRING      parse STRING and use it instead of current time\n\
   -f                     (ignored)\n\
   -m                     change only the modification time\n\
-  -r, --file REFERENCE   use this file's times instead of current time\n\
+  -r, --file=REFERENCE   use this file's times instead of current time\n\
   -t STAMP               use MMDDhhmm[[CC]YY][.ss] instead of current time\n\
       --help             display this help and exit\n\
-      --time WORD        access -a, atime -a, mtime -m, modify -m, use -a\n\
+      --time=WORD        access -a, atime -a, mtime -m, modify -m, use -a\n\
       --version          output version information and exit\n\
 \n\
 STAMP may be used without -t if none of -drt, nor --, are used.\n");