From 1a358f701ff063d3dc0f1ae87fcc70f3dd12660a Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Mon, 8 Sep 2014 01:43:54 +0100 Subject: [PATCH 1/1] [DOC] Add manual section about the command line options. --- help/C/commandline.xml | 76 ++++++++++++++++++++++++++++++++++++++++++ help/C/viking.xml | 2 ++ help/Makefile.am | 4 ++- 3 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 help/C/commandline.xml diff --git a/help/C/commandline.xml b/help/C/commandline.xml new file mode 100644 index 00000000..2f1cdf2a --- /dev/null +++ b/help/C/commandline.xml @@ -0,0 +1,76 @@ + +] +> +
+Command Line + +&appname; being a Graphical User Interface program only has a few command line options. + + + +viking [OPTIONS...] files+ + + + +Note that the ordering of files can be important depending on their file type. +Subsequent non Viking project files are loaded into the previous Viking project, with the files being processed left to right. +Some examples: + + +viking file1.gpx file2.gpx file3.gpx Here all GPX files are loaded into a new &appname; project in one window. +viking file1.vik file2.vik Each &appname; project file is opened in a new window. +viking file1.vik file2.gpx file3.gpx The GPX files are loaded into the &appname; project in one window. +viking file2.gpx file3.gpx file1.vik The GPX files are loaded into a new &appname; project in a one window and the &appname; project is loaded seperately in a seperate window. + + +Command Line Reference + + + + Short Option + Long Option + Description + + + + + -h + --help + Show the command line options and then exit. + + + -V + --verbose + Run in verbose mode. Some information about what &appname; is doing is shown in stdout. + + + -d + --debug + Run in debug mode. Even more information about what &appname; is doing is shown in stdout. +This also enables some extra information features in the GUI itself, primarily of interest to developers. + + + + -v + --version + Show the version and then exit. + + + +
+ + + +As a special combination when both -V and -d are both enabled at the same time, &appname; will not delete some of the temporary files created during the program run. +This is especially useful to monitor results of download requests (which need to be interpreted) if they suddenly start failing, as the file will have often more detailed information about the failure mode. + + + + +&appname; being a GTK+ program means some options are processed by GTK+ itself such as --display. Use the following to find out what they are for your system: +viking --help-gtk + + +
diff --git a/help/C/viking.xml b/help/C/viking.xml index 2d0e31a0..221d27ca 100644 --- a/help/C/viking.xml +++ b/help/C/viking.xml @@ -3319,6 +3319,8 @@ Accept: */* + + diff --git a/help/Makefile.am b/help/Makefile.am index db0f5681..f6c1cfd9 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -12,7 +12,9 @@ get-icons: dist-hook: get-icons doc-dist-hook DOC_MODULE = viking -DOC_ENTITIES = legal.xml attribution.xml +DOC_ENTITIES = legal.xml \ + attribution.xml \ + commandline.xml DOC_INCLUDES = DOC_FIGURES = \ figures/addtr_18.png \ -- 2.39.5