aboutsummaryrefslogtreecommitdiff
path: root/migrate/migrate.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-03-07 19:11:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-03-09 16:22:06 +0300
commited0dd177c63bb7758e8633ffe26de2a8bc315d1b (patch)
tree0d4c9b987ef79a96e1509bceb98e8d254bd99669 /migrate/migrate.cli
parentb72424fca7a6af6ff7921101c450850fef875152 (diff)
Display sha256sum on the package version details page
Diffstat (limited to 'migrate/migrate.cli')
-rw-r--r--migrate/migrate.cli31
1 files changed, 31 insertions, 0 deletions
diff --git a/migrate/migrate.cli b/migrate/migrate.cli
index 35d082f..dcbf667 100644
--- a/migrate/migrate.cli
+++ b/migrate/migrate.cli
@@ -2,6 +2,7 @@
// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
+include <vector>;
include <string>;
include <cstdint>; // uint16_t
@@ -85,6 +86,36 @@ class options
"Database port number. If not specified, the default port is used."
}
+ std::string --pager // String to allow empty value.
+ {
+ "<path>",
+ "The pager program to be used to show long text. Commonly used pager
+ programs are \cb{less} and \cb{more}. You can also specify additional
+ options that should be passed to the pager program with
+ \cb{--pager-option}. If an empty string is specified as the pager
+ program, then no pager will be used. If the pager program is not
+ explicitly specified, then \cb{brep-migrate} will try to use \cb{less}.
+ If it is not available, then no pager will be used."
+ }
+
+ std::vector<std::string> --pager-option
+ {
+ "<opt>",
+ "Additional option to be passed to the pager program. See \cb{--pager}
+ for more information on the pager program. Repeat this option to
+ specify multiple pager options."
+ }
+
bool --help {"Print usage information and exit."}
bool --version {"Print version and exit."}
};
+
+"\h|EXIT STATUS|
+
+\cb{0} Successful termination.
+
+\cb{1} \cb{brep-migrate} or \l{brep-load(1)} instance is running. Try
+ again.
+
+\cb{2} Fatal error.
+"