Changeset 18b6a88 in mainline for uspace/app
- Timestamp:
- 2018-04-15T09:35:04Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c1f44ca
- Parents:
- 8ebe212
- Location:
- uspace/app
- Files:
-
- 4 edited
-
bdsh/cmds/modules/mkdir/mkdir.c (modified) (4 diffs)
-
date/date.c (modified) (1 diff)
-
mkexfat/mkexfat.c (modified) (1 diff)
-
tester/float/float2.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
r8ebe212 r18b6a88 51 51 52 52 static struct option const long_options[] = { 53 { "parents", no_argument, 0, 'p'},54 { "verbose", no_argument, 0, 'v'},55 { "mode", required_argument, 0, 'm'},56 { "help", no_argument, 0, 'h'},57 { "version", no_argument, 0, 'V'},58 { "follow", no_argument, 0, 'f'},59 { 0, 0, 0, 0}53 { "parents", no_argument, 0, 'p' }, 54 { "verbose", no_argument, 0, 'v' }, 55 { "mode", required_argument, 0, 'm' }, 56 { "help", no_argument, 0, 'h' }, 57 { "version", no_argument, 0, 'V' }, 58 { "follow", no_argument, 0, 'f' }, 59 { 0, 0, 0, 0 } 60 60 }; 61 61 … … 68 68 help_cmd_mkdir(HELP_SHORT); 69 69 printf( 70 "Usage: %s [options] <path>\n"71 "Options:\n"72 " -h, --help A short option summary\n"73 " -V, --version Print version information and exit\n"74 " -p, --parents Create needed parents for <path>\n"75 " -m, --mode Set permissions to [mode] (UNUSED)\n"76 " -v, --verbose Be extremely noisy about what is happening\n"77 " -f, --follow Go to the new directory once created\n"78 "Currently, %s is under development, some options don't work.\n",79 cmdname, cmdname);70 "Usage: %s [options] <path>\n" 71 "Options:\n" 72 " -h, --help A short option summary\n" 73 " -V, --version Print version information and exit\n" 74 " -p, --parents Create needed parents for <path>\n" 75 " -m, --mode Set permissions to [mode] (UNUSED)\n" 76 " -v, --verbose Be extremely noisy about what is happening\n" 77 " -f, --follow Go to the new directory once created\n" 78 "Currently, %s is under development, some options don't work.\n", 79 cmdname, cmdname); 80 80 } 81 81 … … 202 202 if (argc < 1) { 203 203 printf("%s - incorrect number of arguments. Try `%s --help'\n", 204 cmdname, cmdname);204 cmdname, cmdname); 205 205 return CMD_FAILURE; 206 206 } … … 209 209 if (verbose) 210 210 printf("%s: creating %s%s\n", 211 cmdname, argv[i],212 create_parents ? " (and all parents)" : "");211 cmdname, argv[i], 212 create_parents ? " (and all parents)" : ""); 213 213 ret += create_directory(argv[i], create_parents); 214 214 } -
uspace/app/date/date.c
r8ebe212 r18b6a88 47 47 static void usage(void); 48 48 49 static int days_month[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};49 static int days_month[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; 50 50 51 51 int -
uspace/app/mkexfat/mkexfat.c
r8ebe212 r18b6a88 123 123 124 124 static struct option const long_options[] = { 125 { "help", no_argument, 0, 'h'},126 { "cluster-size", required_argument, 0, 'c'},127 { "fs-size", required_argument, 0, 's'},128 { "label", required_argument, 0, 'L' },125 { "help", no_argument, 0, 'h' }, 126 { "cluster-size", required_argument, 0, 'c' }, 127 { "fs-size", required_argument, 0, 's' }, 128 { "label", required_argument, 0, 'L' }, 129 129 }; 130 130 -
uspace/app/tester/float/float2.c
r8ebe212 r18b6a88 209 209 { 210 210 bool fail = false; 211 if (0) { 211 #if 0 212 212 for (unsigned int i = 0; i < OPERANDS; i++) { 213 213 double res = acos(arguments_acos[i]); … … 249 249 } 250 250 } 251 } 251 #endif 252 252 for (unsigned int i = 0; i < OPERANDS; i++) { 253 253 double res = atan(arguments_atan[i]);
Note:
See TracChangeset
for help on using the changeset viewer.
