diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-02-16 15:59:55 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-02-16 15:59:55 +0200 |
commit | a2a5cd9c696d0d6f2c14b8831e62caf24d16fa50 (patch) | |
tree | 165df39ff93f06442aef312f918c00f5deeac1cd /src/fetch.c | |
parent | 445ea072205cfb2d9ecd9ffb28d88023d5d24ea5 (diff) | |
download | apk-tools-a2a5cd9c696d0d6f2c14b8831e62caf24d16fa50.tar.gz apk-tools-a2a5cd9c696d0d6f2c14b8831e62caf24d16fa50.tar.bz2 apk-tools-a2a5cd9c696d0d6f2c14b8831e62caf24d16fa50.tar.xz apk-tools-a2a5cd9c696d0d6f2c14b8831e62caf24d16fa50.zip |
fetch: allow enabling --simulate
Diffstat (limited to 'src/fetch.c')
-rw-r--r-- | src/fetch.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fetch.c b/src/fetch.c index 14e0790..bc63983 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -93,8 +93,9 @@ static int option_parse_applet(void *ctx, struct apk_db_options *dbopts, int opt static const struct apk_option options_applet[] = { { 'L', "link", "Create hard links if possible" }, { 'R', "recursive", "Fetch the PACKAGE and all its dependencies" }, - { 's', "stdout", - "Dump the .apk to stdout (incompatible with -o, -R, --progress)" }, + { 0x104, "simulate", "Show what would be done without actually doing it" }, + { 's', "stdout", "Dump the .apk to stdout (incompatible " + "with -o, -R, --progress)" }, { 'o', "output", "Directory to place the PACKAGEs to", required_argument, "DIR" }, }; |