File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ package nuv_export::cli;
128128 add_arg(' version' , ' Show the version and exit' );
129129
130130# Load the commandline options
131- add_arg(' help' , ' Show nuvexport help' );
131+ add_arg(' help:s ' , ' Show nuvexport help' );
132132 add_arg(' debug' , ' Enable debug mode' );
133133
134134# Load the commandline arguments
Original file line number Diff line number Diff line change 99 print " No help for $export_prog /" , arg(' mode' ), " \n\n " ;
1010 }
1111
12- print " Help section still needs to be updated.\n "
13- ." For now, use `man nuvexport`\n\n " ;
12+ if (arg(' help' ) eq ' debug' ) {
13+ print " Please read https://svn.forevermore.net/nuvexport/wiki/debug\n " ;
14+ }
15+
16+ else {
17+ print " Help section still needs to be updated.\n "
18+ ." For now, use `man nuvexport` or visit the nuvexport"
19+ ." wiki at https://svn.forevermore.net/nuvexport/\n\n " ;
20+ }
1421
1522 exit ;
Original file line number Diff line number Diff line change 102102 }
103103
104104# Print the help - for now, this is just perldoc
105- if (arg(' help' )) {
105+ if (defined arg(' help' )) {
106106 require nuv_export::help;
107107 }
108108
You can’t perform that action at this time.
0 commit comments