*groupname = malloc (15);
if (*groupname == NULL)
return tired;
- sprintf (*groupname, "%u", pwd->pw_gid);
+ sprintf (*groupname, "%u", (unsigned) (pwd->pw_gid));
}
else
{
-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\
\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");
-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\
-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);
}
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");
}
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");
}
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\
-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\
\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");