mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-31 01:21:51 +00:00
cleanup: replace tabs wth spaces in usage strings
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
7665872377
commit
6f94152de5
@ -112,22 +112,22 @@ Options :\n\
|
|||||||
-n, --name=NAME NAME of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-N, --newname=NEWNAME NEWNAME for the restored container\n\
|
-N, --newname=NEWNAME NEWNAME for the restored container\n\
|
||||||
-p, --newpath=NEWPATH NEWPATH for the container to be stored\n\
|
-p, --newpath=NEWPATH NEWPATH for the container to be stored\n\
|
||||||
-R, --rename rename container\n\
|
-R, --rename rename container\n\
|
||||||
-s, --snapshot create snapshot instead of clone\n\
|
-s, --snapshot create snapshot instead of clone\n\
|
||||||
-F, --foreground start with current tty attached to /dev/console\n\
|
-F, --foreground start with current tty attached to /dev/console\n\
|
||||||
-d, --daemon daemonize the container (default)\n\
|
-d, --daemon daemonize the container (default)\n\
|
||||||
-e, --ephemeral start ephemeral container\n\
|
-e, --ephemeral start ephemeral container\n\
|
||||||
-m, --mount directory to mount into container, either \n\
|
-m, --mount directory to mount into container, either \n\
|
||||||
{bind,aufs,overlay}=/src-path or {bind,aufs,overlay}=/src-path:/dst-path\n\
|
{bind,aufs,overlay}=/src-path or {bind,aufs,overlay}=/src-path:/dst-path\n\
|
||||||
-B, --backingstorage=TYPE backingstorage type for the container\n\
|
-B, --backingstorage=TYPE backingstorage type for the container\n\
|
||||||
-t, --tmpfs place ephemeral container on a tmpfs\n\
|
-t, --tmpfs place ephemeral container on a tmpfs\n\
|
||||||
(WARNING: On reboot all changes made to the container will be lost.)\n\
|
(WARNING: On reboot all changes made to the container will be lost.)\n\
|
||||||
-L, --fssize size of the new block device for block device containers\n\
|
-L, --fssize size of the new block device for block device containers\n\
|
||||||
-D, --keedata pass together with -e start a persistent snapshot \n\
|
-D, --keedata pass together with -e start a persistent snapshot \n\
|
||||||
-K, --keepname keep the hostname of the original container\n\
|
-K, --keepname keep the hostname of the original container\n\
|
||||||
-- hook options arguments passed to the hook program\n\
|
-- hook options arguments passed to the hook program\n\
|
||||||
-M, --keepmac keep the MAC address of the original container\n\
|
-M, --keepmac keep the MAC address of the original container\n\
|
||||||
--rcfile=FILE Load configuration file FILE\n",
|
--rcfile=FILE Load configuration file FILE\n",
|
||||||
.options = my_longopts,
|
.options = my_longopts,
|
||||||
.parser = my_parser,
|
.parser = my_parser,
|
||||||
.task = CLONE,
|
.task = CLONE,
|
||||||
|
@ -184,8 +184,8 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-ls list containers\n\
|
lxc-ls list containers\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-1, --line show one entry per line\n\
|
-1, --line show one entry per line\n\
|
||||||
-f, --fancy column-based output\n\
|
-f, --fancy column-based output\n\
|
||||||
-F, --fancy-format column-based output\n\
|
-F, --fancy-format column-based output\n\
|
||||||
--active list only active containers\n\
|
--active list only active containers\n\
|
||||||
--running list only running containers\n\
|
--running list only running containers\n\
|
||||||
|
@ -55,7 +55,7 @@ static struct lxc_arguments my_args = {
|
|||||||
lxc-snapshot snapshots a container\n\
|
lxc-snapshot snapshots a container\n\
|
||||||
\n\
|
\n\
|
||||||
Options :\n\
|
Options :\n\
|
||||||
-n, --name=NAME NAME of the container\n\
|
-n, --name=NAME NAME of the container\n\
|
||||||
-L, --list list all snapshots\n\
|
-L, --list list all snapshots\n\
|
||||||
-r, --restore=NAME restore snapshot NAME, e.g. 'snap0'\n\
|
-r, --restore=NAME restore snapshot NAME, e.g. 'snap0'\n\
|
||||||
-N, --newname=NEWNAME NEWNAME for the restored container\n\
|
-N, --newname=NEWNAME NEWNAME for the restored container\n\
|
||||||
|
@ -59,7 +59,7 @@ static void usage(const char *name)
|
|||||||
{
|
{
|
||||||
printf("usage: %s [-h] [-m <uid-maps>] -- [command [arg ..]]\n", name);
|
printf("usage: %s [-h] [-m <uid-maps>] -- [command [arg ..]]\n", name);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" -h this message\n");
|
printf(" -h this message\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" -m <uid-maps> uid maps to use\n");
|
printf(" -m <uid-maps> uid maps to use\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user