summaryrefslogtreecommitdiff
path: root/src/options.ggo.in
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-08-27 14:35:13 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-08-27 14:35:13 +0200
commitaae3a5a9180fe2917d14b437931bd9fe14e933e1 (patch)
tree4fb3c823e0ee77da3e5279336ad933e1fa972f5a /src/options.ggo.in
parent0c43a9579f7076b0215b4198a7dd5f10d32e2391 (diff)
downloadcssh-aae3a5a9180fe2917d14b437931bd9fe14e933e1.tar.gz
cssh-aae3a5a9180fe2917d14b437931bd9fe14e933e1.tar.bz2
made version of gengetopt file and version.h depend on CSSH_VERSION in CMakeLists.txt
Diffstat (limited to 'src/options.ggo.in')
-rw-r--r--src/options.ggo.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/options.ggo.in b/src/options.ggo.in
new file mode 100644
index 0000000..9f70ca4
--- /dev/null
+++ b/src/options.ggo.in
@@ -0,0 +1,34 @@
+package "cssh"
+version "@CSSH_VERSION@"
+usage "cssh [options] [user@][hostname] [command]"
+description "Execute a command on a set of machines"
+
+section "Main Options"
+ option "long-version" -
+ "Full version and credentials"
+ optional
+
+ option "verbose" v
+ "Increase verbosity level (option can be given many times)"
+ optional multiple
+
+ option "login" l
+ "Login user (default: current user)"
+ string typestr="login_name"
+ optional
+
+ option "port" p
+ "Port to use for SSH (default: 22)"
+ int typestr="port"
+ optional
+
+ option "hosts-file" H
+ "List of hosts to use in parallel (listed one per line in a file), optional second parameter separated with a tab can be the port"
+ string typestr="hosts-file"
+ optional
+
+section "SCP options"
+
+ option "recursive" r
+ "Copy files and directories recursively"
+ optional