[LU-11839] iokit-gather-stats help message woks with ‘-h’ or ‘--help’ not ‘-help’ Created: 07/Jan/19 Updated: 09/Jun/21 Resolved: 09/Jun/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.0, Lustre 2.13.0 |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | James Nunez (Inactive) | Assignee: | Arshad Hussain |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Running iokit-gather-stats with no flags results in # /usr/bin/iokit-gather-stats Usage: iokit-gather-stats [-help] config_file [start|stop|cleanup] <log_name> So, to get help on the command, we should use the ‘-help’ flag # /usr/bin/iokit-gather-stats -help getopt: invalid option -- 'e' getopt: invalid option -- 'l' getopt: invalid option -- 'p' Usage: iokit-gather-stats [-help] config_file [start|stop|cleanup] <log_name> Well, that didn’t help. Looking at the code, we should really use ‘ |
| Comments |
| Comment by Gerrit Updater [ 25/Mar/21 ] |
|
Arshad Hussain (arshad.hussain@aeoncomputing.com) uploaded a new patch: https://review.whamcloud.com/43114 |
| Comment by Gerrit Updater [ 08/Jun/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43114/ |
| Comment by Peter Jones [ 09/Jun/21 ] |
|
Landed for 2.15 |