mirror of
https://github.com/Michaelangel007/apple2_prodos_utils.git
synced 2025-02-16 16:30:31 +00:00
Display usage instead of having only a volume name; i.e. --help
This commit is contained in:
parent
7395ff335c
commit
05c790532f
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user