mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-04 11:43:48 +01:00
basic spacing fixes for help commands
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille bootstrap [option(s)] [RELEASE|TEMPLATE] [update|arch]"
|
||||
error_notify "Usage: bastille bootstrap [option(s)] RELEASE|TEMPLATE [update|arch]"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -33,13 +33,13 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille clone [option(s)] TARGET NEWNAME IPADDRESS"
|
||||
error_notify "Usage: bastille clone [option(s)] TARGET NEW_NAME IP"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required. Cannot be used with [-l|--live].
|
||||
-l | --live Clone a running jail. ZFS only. Jail must be running. Cannot be used with [-a|--auto].
|
||||
-l | --live Clone a running jail (ZFS only). Cannot be used with [-a|--auto].
|
||||
-x | --debug Enable debug mode.
|
||||
|
||||
EOF
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille config [option(s)] TARGET [get|(set|add)|remove] PROPERTY VALUE"
|
||||
error_notify "Usage: bastille config [option(s)] TARGET [get|(set|add)|remove] PROPERTY [VALUE]"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille console [option(s)] TARGET [user]"
|
||||
error_notify "Usage: bastille console [option(s)] TARGET [USER]"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille convert [option(s)] [TARGET|TARGET RELEASE]"
|
||||
error_notify "Usage: bastille convert [option(s)] TARGET [RELEASE]"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -35,25 +35,25 @@
|
||||
usage() {
|
||||
# Build an independent usage for the create command
|
||||
# If no option specified, will create a thin container by default
|
||||
error_notify "Usage: bastille create [option(s)] NAME RELEASE IP_ADDRESS [INTERFACE]"
|
||||
error_notify "Usage: bastille create [option(s)] NAME RELEASE IP [INTERFACE]"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
-B | --bridge Enables VNET, VNET containers are attached to a specified, already existing external bridge.
|
||||
-C | --clone Creates a clone container, they are duplicates of the base release, consume low space and preserves changing data.
|
||||
-D | --dual Creates the jails with both IPv4 and IPv6 networking ('inherit' and 'ip_hostname' only).
|
||||
-E | --empty Creates an empty container, intended for custom jail builds (thin/thick/linux or unsupported).
|
||||
-L | --linux This option is intended for testing with Linux jails, this is considered experimental.
|
||||
-M | --static-mac Generate a static MAC address for jail (VNET only).
|
||||
--no-boot Create jail with boot=off.
|
||||
--no-validate Do not validate the release when creating the jail.
|
||||
-p | --priority VALUE Set priority value for jail.
|
||||
-T | --thick Creates a thick container, they consume more space as they are self contained and independent.
|
||||
-V | --vnet Enables VNET, VNET containers are attached to a virtual bridge interface for connectivity.
|
||||
-v | --vlan VLANID Creates the jail with specified VLAN ID (VNET only).
|
||||
-x | --debug Enable debug mode.
|
||||
-Z | --zfs-opts "-o option" Custom set of ZFS options to create the jail with. This overrides the defaults.
|
||||
-B | --bridge Enable VNET, and attach to a specified, already existing external bridge.
|
||||
-C | --clone Create a clone jail.
|
||||
-D | --dual Create jail with both IPv4 and IPv6 networking ('inherit' and 'ip_hostname' only).
|
||||
-E | --empty Create an empty container, intended for custom jail builds (thin/thick/linux or unsupported).
|
||||
-L | --linux Create a Linux jail (experimental).
|
||||
-M | --static-mac Generate a static MAC address for jail (VNET only).
|
||||
--no-validate Do not validate the release when creating the jail.
|
||||
--no-boot Create jail with boot=off.
|
||||
-p | --priority VALUE Set priority value for jail.
|
||||
-T | --thick Creates a thick container, they consume more space as they are self contained and independent.
|
||||
-V | --vnet Enable VNET, and attach to an existing, physical interface.
|
||||
-v | --vlan VLANID Creates the jail with specified VLAN ID (VNET only).
|
||||
-x | --debug Enable debug mode.
|
||||
-Z | --zfs-opts [zfs,options] Comma separated list of ZFS options to create the jail with. This overrides the defaults.
|
||||
|
||||
EOF
|
||||
exit 1
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille destroy [option(s)] [JAIL|RELEASE]"
|
||||
error_notify "Usage: bastille destroy [option(s)] JAIL|RELEASE"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille edit [option(s)] TARGET [filename]"
|
||||
error_notify "Usage: bastille edit [option(s)] TARGET [FILE]"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -34,11 +34,12 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille limits [option(s)] TARGET [add OPTION VALUE|remove OPTION|clear|reset|[list|show] (active)|stats]"
|
||||
echo -e "Example: bastille limits TARGET add memoryuse 1G"
|
||||
echo -e "Example: bastille limits TARGET add cpu 0,1,2"
|
||||
error_notify "Usage: bastille limits [option(s)] TARGET [add|remove|clear|reset|(list|show [active])|stats] OPTION [VALUE]"
|
||||
cat << EOF
|
||||
|
||||
Example: bastille limits TARGET add memoryuse 1G
|
||||
Example: bastille limits TARGET add cpu 0,1,2
|
||||
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
. /usr/local/etc/bastille/bastille.conf
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille network [option(s)] TARGET [remove|add] INTERFACE [IP_ADDRESS]"
|
||||
error_notify "Usage: bastille network [option(s)] TARGET [remove|add] INTERFACE [IP]"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille pkg [option(s)] TARGET COMMAND args"
|
||||
error_notify "Usage: bastille pkg [option(s)] TARGET ARGS"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille service [option(s)] TARGET SERVICE_NAME ACTION"
|
||||
error_notify "Usage: bastille service [option(s)] TARGET SERVICE_NAME ARGS"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille sysrc [option(s)] TARGET args"
|
||||
error_notify "Usage: bastille sysrc [option(s)] TARGET ARGS"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille template [option(s)] TARGET [--convert|project/template]"
|
||||
error_notify "Usage: bastille template [option(s)] TARGET [--convert] TEMPLATE"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
. /usr/local/share/bastille/common.sh
|
||||
|
||||
usage() {
|
||||
error_notify "Usage: bastille upgrade [option(s)] TARGET [NEWRELEASE|install]"
|
||||
error_notify "Usage: bastille upgrade [option(s)] TARGET NEW_RELEASE|install"
|
||||
cat << EOF
|
||||
|
||||
Options:
|
||||
|
||||
Reference in New Issue
Block a user