mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 17:12:14 +00:00
Fix grammar in some of the executables
"NAME for name of the container" becomes "NAME of the container" Signed-off-by: Christian Brauner <christianvanbrauner@gmail.com>
This commit is contained in:
parent
eab218fbf7
commit
b2966d59ac
@ -146,7 +146,7 @@ static struct lxc_arguments my_args = {
|
|||||||
Execute the specified COMMAND - enter the container NAME\n\
|
Execute the specified COMMAND - enter the container NAME\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-e, --elevated-privileges=PRIVILEGES\n\
|
-e, --elevated-privileges=PRIVILEGES\n\
|
||||||
Use elevated privileges instead of those of the\n\
|
Use elevated privileges instead of those of the\n\
|
||||||
container. If you don't specify privileges to be\n\
|
container. If you don't specify privileges to be\n\
|
||||||
|
@ -105,7 +105,7 @@ lxc-checkpoint checkpoints and restores a container\n\
|
|||||||
its running state at a later time.\n\
|
its running state at a later time.\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-r, --restore Restore container\n\
|
-r, --restore Restore container\n\
|
||||||
-D, --checkpoint-dir=DIR directory to save the checkpoint in\n\
|
-D, --checkpoint-dir=DIR directory to save the checkpoint in\n\
|
||||||
-v, --verbose Enable verbose criu logs\n\
|
-v, --verbose Enable verbose criu logs\n\
|
||||||
|
@ -78,7 +78,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-console logs on the container with the identifier NAME\n\
|
lxc-console logs on the container with the identifier NAME\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-t, --tty=NUMBER console tty number\n\
|
-t, --tty=NUMBER console tty number\n\
|
||||||
-e, --escape=PREFIX prefix for escape command\n",
|
-e, --escape=PREFIX prefix for escape command\n",
|
||||||
.options = my_longopts,
|
.options = my_longopts,
|
||||||
|
@ -61,7 +61,7 @@ static uint64_t get_fssize(char *s)
|
|||||||
else if (*end == 't' || *end == 'T')
|
else if (*end == 't' || *end == 'T')
|
||||||
ret *= 1024ULL * 1024ULL * 1024ULL * 1024ULL;
|
ret *= 1024ULL * 1024ULL * 1024ULL * 1024ULL;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Invalid blockdev unit size '%c' in '%s', using default size\n", *end, s);
|
fprintf(stderr, "Invalid blockdev unit size '%c' in '%s', using default size\n", *end, s);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -131,7 +131,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-create creates a container\n\
|
lxc-create creates a container\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-f, --config=file Initial configuration file\n\
|
-f, --config=file Initial configuration file\n\
|
||||||
-t, --template=t Template to use to setup container\n\
|
-t, --template=t Template to use to setup container\n\
|
||||||
-B, --bdev=BDEV Backing store type to use\n\
|
-B, --bdev=BDEV Backing store type to use\n\
|
||||||
|
@ -52,7 +52,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-destroy destroys a container with the identifier NAME\n\
|
lxc-destroy destroys a container with the identifier NAME\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-f, --force wait for the container to shut down\n",
|
-f, --force wait for the container to shut down\n",
|
||||||
.options = my_longopts,
|
.options = my_longopts,
|
||||||
.parser = my_parser,
|
.parser = my_parser,
|
||||||
|
@ -53,7 +53,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-device attach or detach DEV to or from container.\n\
|
lxc-device attach or detach DEV to or from container.\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container",
|
-n, --name=NAME NAME of the container",
|
||||||
.options = my_longopts,
|
.options = my_longopts,
|
||||||
.parser = NULL,
|
.parser = NULL,
|
||||||
.checker = NULL,
|
.checker = NULL,
|
||||||
|
@ -79,7 +79,7 @@ lxc-execute creates a container with the identifier NAME\n\
|
|||||||
and execs COMMAND into this container.\n\
|
and execs COMMAND into this container.\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-f, --rcfile=FILE Load configuration file FILE\n\
|
-f, --rcfile=FILE Load configuration file FILE\n\
|
||||||
-s, --define KEY=VAL Assign VAL to configuration variable KEY\n",
|
-s, --define KEY=VAL Assign VAL to configuration variable KEY\n",
|
||||||
.options = my_longopts,
|
.options = my_longopts,
|
||||||
|
@ -47,7 +47,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-freeze freezes a container with the identifier NAME\n\
|
lxc-freeze freezes a container with the identifier NAME\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container",
|
-n, --name=NAME NAME of the container",
|
||||||
.options = my_longopts,
|
.options = my_longopts,
|
||||||
.parser = NULL,
|
.parser = NULL,
|
||||||
.checker = NULL,
|
.checker = NULL,
|
||||||
|
@ -87,7 +87,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-info display some information about a container with the identifier NAME\n\
|
lxc-info display some information about a container with the identifier NAME\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-c, --config=KEY show configuration variable KEY from running container\n\
|
-c, --config=KEY show configuration variable KEY from running container\n\
|
||||||
-i, --ips shows the IP addresses\n\
|
-i, --ips shows the IP addresses\n\
|
||||||
-p, --pid shows the process id of the init container\n\
|
-p, --pid shows the process id of the init container\n\
|
||||||
|
@ -61,7 +61,7 @@ static void interrupt_handler(int sig)
|
|||||||
static void usage(void) {
|
static void usage(void) {
|
||||||
fprintf(stderr, "Usage: lxc-init [OPTION]...\n\n"
|
fprintf(stderr, "Usage: lxc-init [OPTION]...\n\n"
|
||||||
"Common options :\n"
|
"Common options :\n"
|
||||||
" -n, --name=NAME NAME for name of the container\n"
|
" -n, --name=NAME NAME of the container\n"
|
||||||
" -l, --logpriority=LEVEL Set log priority to LEVEL\n"
|
" -l, --logpriority=LEVEL Set log priority to LEVEL\n"
|
||||||
" -q, --quiet Don't produce any output\n"
|
" -q, --quiet Don't produce any output\n"
|
||||||
" -P, --lxcpath=PATH Use specified container path\n"
|
" -P, --lxcpath=PATH Use specified container path\n"
|
||||||
|
@ -61,7 +61,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-monitor monitors the state of the NAME container\n\
|
lxc-monitor monitors the state of the NAME container\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
NAME may be a regular expression\n\
|
NAME may be a regular expression\n\
|
||||||
-Q, --quit tell lxc-monitord to quit\n",
|
-Q, --quit tell lxc-monitord to quit\n",
|
||||||
.name = ".*",
|
.name = ".*",
|
||||||
|
@ -181,7 +181,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-start start COMMAND in specified container NAME\n\
|
lxc-start start COMMAND in specified container NAME\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-d, --daemon Daemonize the container (default)\n\
|
-d, --daemon Daemonize the container (default)\n\
|
||||||
-F, --foreground Start with the current tty attached to /dev/console\n\
|
-F, --foreground Start with the current tty attached to /dev/console\n\
|
||||||
-p, --pidfile=FILE Create a file with the process id\n\
|
-p, --pidfile=FILE Create a file with the process id\n\
|
||||||
|
@ -69,7 +69,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-stop stops a container with the identifier NAME\n\
|
lxc-stop stops a container with the identifier NAME\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-r, --reboot reboot the container\n\
|
-r, --reboot reboot the container\n\
|
||||||
-W, --nowait don't wait for shutdown or reboot to complete\n\
|
-W, --nowait don't wait for shutdown or reboot to complete\n\
|
||||||
-t, --timeout=T wait T seconds before hard-stopping\n\
|
-t, --timeout=T wait T seconds before hard-stopping\n\
|
||||||
|
@ -45,7 +45,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-unfreeze unfreezes a container with the identifier NAME\n\
|
lxc-unfreeze unfreezes a container with the identifier NAME\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n",
|
-n, --name=NAME NAME of the container\n",
|
||||||
.options = my_longopts,
|
.options = my_longopts,
|
||||||
.parser = NULL,
|
.parser = NULL,
|
||||||
.checker = NULL,
|
.checker = NULL,
|
||||||
|
@ -68,7 +68,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-wait waits for NAME container state to reach STATE\n\
|
lxc-wait waits for NAME container state to reach STATE\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME for name of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-s, --state=STATE ORed states to wait for\n\
|
-s, --state=STATE ORed states to wait for\n\
|
||||||
STOPPED, STARTING, RUNNING, STOPPING,\n\
|
STOPPED, STARTING, RUNNING, STOPPING,\n\
|
||||||
ABORTING, FREEZING, FROZEN, THAWED\n\
|
ABORTING, FREEZING, FROZEN, THAWED\n\
|
||||||
|
Loading…
Reference in New Issue
Block a user