This repository was archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 299
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
usability: fleetctl / fleetd help output with double hyphens #1453
Copy link
Copy link
Closed
Labels
Milestone
Description
According to this issue fleetctl -%someinvalidcommand% should print commands list with the double hyphens.
$ fleetd -foo
flag provided but not defined: -foo
fleetd is the server component of fleet, a simple orchestration system for scheduling systemd units in a cluster.
Usage of fleetd:
-config="": Path to config file. Fleet will look for a config at /etc/fleet/fleet.conf by default.
-version=false: Print the version and exit
$ fleetctl --foo
flag provided but not defined: -foo
Usage of fleetctl:
-ca-file="": Location of TLS CA file used to secure communication with the fleet API or etcd
-cert-file="": Location of TLS cert file used to secure communication with the fleet API or etcd
-debug=false: Print out more debug information to stderr
-driver="API": Adapter used to execute fleetctl commands. Options include "API" and "etcd".
-endpoint="unix:///var/run/fleet.sock": Location of the fleet API if --driver=API. Alternatively, if --driver=etcd, location of the etcd API.
-etcd-cafile="": hidden
-etcd-certfile="": hidden
-etcd-key-prefix="/_coreos.com/fleet/": Keyspace for fleet data in etcd (development use only!)
-etcd-keyfile="": hidden
-experimental-api=true: hidden
-h=false: Print usage information and exit
-help=false: Print usage information and exit
-key-file="": Location of TLS key file used to secure communication with the fleet API or etcd
-known-hosts-file="~/.fleetctl/known_hosts": File used to store remote machine fingerprints. Ignored if strict host key checking is disabled.
-request-timeout=3: Amount of time in seconds to allow a single request before considering it failed.
-ssh-timeout=10: Amount of time in seconds to allow for SSH connection initialization before failing.
-ssh-username="core": Username to use when connecting to CoreOS instance.
-strict-host-key-checking=true: Verify host keys presented by remote machines before initiating SSH connections.
-tunnel="": Establish an SSH tunnel through the provided address for communication with fleet and etcd.
-version=false: Print the version and exitrelates to #1445 etcd-io/etcd#4595