View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000325 | Cinelerra-GG | [All Projects] Bug | public | 2019-10-16 19:29 | 2019-10-16 19:35 |
Reporter | Olaf | Assigned To | |||
Priority | low | Severity | trivial | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000325: cin --help | ||||
Description | Some programs fight against the simultaneous use of "-h" and "--help". Instead, they indicate an error that the unwanted option was not found and point to the other option to get help, probably a "fuck you" joke for insiders. CGG, on the other hand, only knows "-h" and otherwise searches the file system for something useful, which is not right by convention. | ||||
Additional Information | --- a/cinelerra-5.1/cinelerra/main.C +++ b/cinelerra-5.1/cinelerra/main.C @@ -195,7 +195,7 @@ int main(int argc, char *argv[]) int start_remote_control = 0; for( int i = 1; i < argc; i++ ) { - if( !strcmp(argv[i], "-h") ) { + if( !strcmp(argv[i], "-h") || !strcmp(argv[i], "--help") ) { operation = DO_USAGE; } else if( !strcmp(argv[i], "-z") ) { or something like that. | ||||
Tags | No tags attached. | ||||