                 'profile', 'p']
 
     cmd = process.argv[N_META_ARGUMENTS]
-    unless cmd in COMMANDS
+    unless cmd in COMMANDS or cmd[0] is '-'
         logger.e("#{styler.id cmd} is not a optim command. Run #{styler.id 'optim --help'}
-                  for the list of commands", margin: on, exit: yes)
+                  for the list of commands", margin: on, exit: yes, printStack: no)
 
 ######### - CLI command, options and version definitions- ##########
 cli.version version

logger = require './logger'
styler = require './styler'
cleaner = require './cleaner'

######### - Argument checks and preprocess - ##########
N_META_ARGUMENTS = 2

    .option '-a, --forward-args <[program-specification:]arguments-string>',
        "Forward arguments to the programs"
    .option '-l, --last',
        "Only check equality with the program with greatest modification time"
    .action check

# Compile command
cli
