summaryrefslogtreecommitdiff
path: root/src/import/pull.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-22 17:38:10 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-22 17:50:50 +0100
commitaa9bd4992ff0240f6ceecb70ec364d5d9c7574f4 (patch)
treeb0d4df825d240aaf11a0f36bab41dd91ffb0253e /src/import/pull.c
parentff828763c40cd138658abf9ed7a19da73c92dec1 (diff)
import: now that the worker binary is called "systemd-pull" we can shorten the verbs
Atfer all "systemd-pull pull-tar" is unnecessarily redundant, over "systemd-pull tar"...
Diffstat (limited to 'src/import/pull.c')
-rw-r--r--src/import/pull.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/import/pull.c b/src/import/pull.c
index 9bd8b77477..ee3ff68036 100644
--- a/src/import/pull.c
+++ b/src/import/pull.c
@@ -328,9 +328,9 @@ static int help(int argc, char *argv[], void *userdata) {
" --image-root= Image root directory\n"
" --dkr-index-url=URL Specify index URL to use for downloads\n\n"
"Commands:\n"
- " pull-tar URL [NAME] Download a TAR image\n"
- " pull-raw URL [NAME] Download a RAW image\n"
- " pull-dkr REMOTE [NAME] Download a DKR image\n",
+ " tar URL [NAME] Download a TAR image\n"
+ " raw URL [NAME] Download a RAW image\n"
+ " dkr REMOTE [NAME] Download a DKR image\n",
program_invocation_short_name);
return 0;
@@ -412,10 +412,10 @@ static int parse_argv(int argc, char *argv[]) {
static int import_main(int argc, char *argv[]) {
static const Verb verbs[] = {
- { "help", VERB_ANY, VERB_ANY, 0, help },
- { "pull-tar", 2, 3, 0, pull_tar },
- { "pull-raw", 2, 3, 0, pull_raw },
- { "pull-dkr", 2, 3, 0, pull_dkr },
+ { "help", VERB_ANY, VERB_ANY, 0, help },
+ { "tar", 2, 3, 0, pull_tar },
+ { "raw", 2, 3, 0, pull_raw },
+ { "dkr", 2, 3, 0, pull_dkr },
{}
};