Commit 25844049 authored by Masahiko Sakai's avatar Masahiko Sakai

showing usage in command line error

parent 6c23fc33
......@@ -42,7 +42,7 @@ int main( int argc, char **argv )
if ( argc != 2 )
{
fputs( "invalid command line\n", stderr );
fputs( "Usage: malbolge20 prog-file\n", stderr );
return ( 1 );
}
if ( ( f = fopen( argv[1], "r" ) ) == NULL )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment