* main.cc (WinMain): Show parameter usage before exiting when
options processing was unsuccessful (this usually means that an
unknown option was given on the command line).
Makefile.in
GNUmakefile
make.out
+.git
+2014-11-22 Achim Gratz <Stromeko@nexgo.de>
+
+ * main.cc (WinMain): Show parameter usage before exiting when
+ options processing was unsuccessful (this usually means that an
+ unknown option was given on the command line).
+
2014-11-20 Corinna Vinschen <corinna@vinschen.de>
* install.cc (Installer::StandardDirs): Add /etc/fstab.d, /dev,
local_dir = std::string (cwd);
if (!GetOption::GetInstance ().Process (argc,_argv, NULL))
- exit (1);
+ {
+ GetOption::GetInstance ().ParameterUsage (cerr
+ << "\nError during option processing."
+ << "\nCommand Line Options:\n");
+ exit (1);
+ }
if (!((string) Arch).size ())
{