Changeset 8f7e1b1 in mainline
- Timestamp:
- 2024-11-15T16:44:09Z (6 months ago)
- Children:
- 972b011
- Parents:
- fde02a6
- git-author:
- Miroslav Cimerman <mc@…> (2024-11-15 15:03:11)
- git-committer:
- Miroslav Cimerman <mc@…> (2024-11-15 16:44:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/hrctl/hrctl.c
rfde02a6 r8f7e1b1 58 58 " -A, --assemble-file=PATH create an array from file\n" 59 59 " -s, --status display status of active arrays\n" 60 " - T, --stop stopan active array\n"60 " -D, --destroy destroy/disassemble an active array\n" 61 61 " -F, --fail-extent fail an extent, use with -T and set it before\n" 62 62 " -c, --create=NAME create new array\n" … … 88 88 { "create-file", required_argument, 0, 'C' }, 89 89 { "assemble-file", required_argument, 0, 'A' }, 90 { " stop", required_argument, 0, 'T' },90 { "destroy", required_argument, 0, 'D' }, 91 91 { "fail-extent", required_argument, 0, 'F' }, 92 92 { 0, 0, 0, 0 } … … 244 244 245 245 while (c != -1) { 246 c = getopt_long(argc, argv, "hsC:c:A:a:l:0145Ln: T:F:",246 c = getopt_long(argc, argv, "hsC:c:A:a:l:0145Ln:D:F:", 247 247 long_options, NULL); 248 248 switch (c) { … … 288 288 assemble = true; 289 289 break; 290 case ' T':290 case 'D': 291 291 rc = hr_stop(optarg, fail_extent); 292 292 free(cfg);
Note:
See TracChangeset
for help on using the changeset viewer.