mirror of
https://github.com/Michaelangel007/apple2_prodos_utils.git
synced 2026-10-22 00:02:22 +00:00
Display usage instead of having only a volume name; i.e. --help
This commit is contained in:
1 parent
7395ff335c
commit
05c790532f
1 file changed
+1
-1
+1
-1
@@ -808,7 +808,7 @@ int main( const int nArg, const char *aArg[] )
|
||||
break;
|
||||
|
||||
default:
|
||||
if( nArg < 2 )
|
||||
if( (nArg < 2) || !pCommand )
|
||||
return usage();
|
||||
else
|
||||
return printf( "ERROR: Unknown command: %s\n", pCommand );
|
||||
|
||||
Reference in new issue
Block a user