View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003026 | FSSCP | user interface | public | 2014-04-05 06:03 | 2014-05-19 10:17 |
Reporter | william | Assigned To | niffiwan | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | ||||
Product Version | 3.7.1 | ||||
Summary | 0003026: CLI does not show -mod option | ||||
Description | The command line help does not show the -mod option. | ||||
Steps To Reproduce | ./fs2_open_3.7.1 -h | grep mod | ||||
Tags | No tags attached. | ||||
|
Looks like a fairly trivial addition to os_validate_parms() / code/cmdline/cmdline.cpp is needed. Note that -mod is not part of exe_params[] which is why it's not currently being displayed. edit: remember to check other cmdline params that accept a value; e.g. -fov, -ambient_factor, etc |
|
So, it wasn't quite as trivial as I 1st thought :) Anyway, updated FSO so that the --help option on Linux outputs all non-deprecated flags. I've also added info on the types of arguments expected by various options, and added help data for some flags that were missing it. Any comments? https://github.com/niffiwan/fs2open.github.com/commit/a2e7543da38344c15a59d4b8b80485c1fc7c38ab |
|
Fix committed to trunk@10706. |
fs2open: trunk r10706 2014-05-19 05:31 Ported: N/A Details Diff |
Fix mantis 3026 Update Linux --help option to show all cmdline options Added data/checks for expected args to cmdline options Add extra const-ness per m!m review |
Affected Issues 0003026 |
|
mod - /trunk/fs2_open/code/cmdline/cmdline.cpp | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-05 06:03 | william | New Issue | |
2014-04-12 12:41 | niffiwan | Assigned To | => niffiwan |
2014-04-12 12:41 | niffiwan | Status | new => assigned |
2014-04-12 12:42 | niffiwan | Note Added: 0015698 | |
2014-04-13 12:03 | niffiwan | Note Edited: 0015698 | |
2014-05-18 09:55 | niffiwan | Note Added: 0015751 | |
2014-05-18 09:55 | niffiwan | Status | assigned => code review |
2014-05-19 10:17 | niffiwan | Changeset attached | => fs2open trunk r10706 |
2014-05-19 10:17 | niffiwan | Note Added: 0015752 | |
2014-05-19 10:17 | niffiwan | Status | code review => resolved |
2014-05-19 10:17 | niffiwan | Resolution | open => fixed |