diff --git a/docs/chapters/subcommands/migrate.rst b/docs/chapters/subcommands/migrate.rst index c48c0f42..ff3138a1 100644 --- a/docs/chapters/subcommands/migrate.rst +++ b/docs/chapters/subcommands/migrate.rst @@ -16,11 +16,11 @@ port by supplying it as in ``user@host:port``. Options: - -a | --auto Auto mode. Start/stop jail(s) if required. - -b | --backup Keep archives on remote system. - -d | --destroy Destroy local jail after migration. - | --doas Use 'doas' instead of 'sudo'. - -k | --keyfile Specify an alternative private keyfile name. Must be in '~/.ssh' - -l | --live Migrate a running jail (ZFS only). - -p | --password Use password based authentication. - -x | --debug Enable debug mode. \ No newline at end of file + -a | --auto Auto mode. Start/stop jail(s) if required. + -b | --backup Keep archives on remote system. + -d | --destroy Destroy local jail after migration. + | --doas Use 'doas' instead of 'sudo'. + -k | --keyfile FILE Specify an alternative private keyfile name. Must be in '~/.ssh' + -l | --live Migrate a running jail (ZFS only). + -p | --password Use password based authentication. + -x | --debug Enable debug mode. \ No newline at end of file diff --git a/usr/local/share/bastille/migrate.sh b/usr/local/share/bastille/migrate.sh index 05a6d2f2..a9a49cc1 100644 --- a/usr/local/share/bastille/migrate.sh +++ b/usr/local/share/bastille/migrate.sh @@ -38,14 +38,14 @@ usage() { Options: - -a | --auto Auto mode. Start/stop jail(s) if required. - -b | --backup Keep archives on remote system. - -d | --destroy Destroy local jail after migration. - | --doas Use 'doas' instead of 'sudo'. - -k | --keyfile Specify an alternative private keyfile name. Must be in '~/.ssh'. - -l | --live Migrate a running jail (ZFS only). - -p | --password Use password based authentication. - -x | --debug Enable debug mode. + -a | --auto Auto mode. Start/stop jail(s) if required. + -b | --backup Keep archives on remote system. + -d | --destroy Destroy local jail after migration. + | --doas Use 'doas' instead of 'sudo'. + -k | --keyfile FILE Specify an alternative private keyfile name. Must be in '~/.ssh'. + -l | --live Migrate a running jail (ZFS only). + -p | --password Use password based authentication. + -x | --debug Enable debug mode. EOF exit 1