diff options
Diffstat (limited to 'meowpp/Usage.h')
-rw-r--r-- | meowpp/Usage.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meowpp/Usage.h b/meowpp/Usage.h index f0d2fc5..d2becef 100644 --- a/meowpp/Usage.h +++ b/meowpp/Usage.h @@ -453,7 +453,12 @@ public: } } else { - proc_arguments_.push_back(String(argv[i] + (argv[i][0]=='\\' ? 1:0))); + if (i == 0) { + // TODO: remember who am I + } + else { + proc_arguments_.push_back(String(argv[i] + (argv[i][0]=='\\' ? 1:0))); + } } } for (OptionsIteratorK it = options_.begin(); it != options_.end(); ++it) { |