View Issue Details

IDProjectCategoryView StatusLast Update
0000325Cinelerra-GG[All Projects] Bugpublic2019-10-16 19:35
ReporterOlaf Assigned To 
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0000325: cin --help
DescriptionSome 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.
TagsNo tags attached.




2019-10-16 19:35

reporter   ~0002292

(Questions about text formatting can be asked at 0000322.)

Issue History

Date Modified Username Field Change
2019-10-16 19:29 Olaf New Issue
2019-10-16 19:35 Olaf Note Added: 0002292