chiark / gitweb /
import: rename --verify=sum to --verify=checksum
authorLennart Poettering <lennart@poettering.net>
Thu, 22 Jan 2015 14:13:53 +0000 (15:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 22 Jan 2015 14:14:36 +0000 (15:14 +0100)
This is how we call it internally, and also a bit more descriptive.

src/import/import.c
src/machine/machinectl.c
src/shared/import-util.c
src/shared/import-util.h

index 5b1d0c1417dc2e2427856d1dde6b8df6778fc13b..9bd8b77477684fd1dd98d4b9efd517983424162a 100644 (file)
@@ -323,8 +323,8 @@ static int help(int argc, char *argv[], void *userdata) {
                "  -h --help                   Show this help\n"
                "     --version                Show package version\n"
                "     --force                  Force creation of image\n"
-               "     --verify=                Verify downloaded image, one of: 'no', 'sum'\n"
-               "                              'signature'.\n"
+               "     --verify=                Verify downloaded image, one of: 'no',\n"
+               "                              'checksum', 'signature'.\n"
                "     --image-root=            Image root directory\n"
                "     --dkr-index-url=URL      Specify index URL to use for downloads\n\n"
                "Commands:\n"
index 11b2c004b86fdf51584b4b7f9bfa933fd00f1940..fa98d0b03ead00d626fc8bbe1f9ea3bc6b9cb2c6 100644 (file)
@@ -2218,8 +2218,8 @@ static int help(int argc, char *argv[], void *userdata) {
                "  -o --output=STRING          Change journal output mode (short,\n"
                "                              short-monotonic, verbose, export, json,\n"
                "                              json-pretty, json-sse, cat)\n"
-               "      --verify=MODE           Verification mode for downloaded images (no, sum,\n"
-               "                              signature)\n"
+               "      --verify=MODE           Verification mode for downloaded images (no,\n"
+               "                              checksum, signature)\n"
                "      --force                 Download image even if already exists\n"
                "      --dkr-index-url=URL     Specify the index URL to use for DKR image\n"
                "                              downloads\n\n"
index 46671e8c99b8301b63c261b10d2956c75d71ee6b..660d92ac5dea5560b64d9f6cd12807dd6a58d9fd 100644 (file)
@@ -76,7 +76,7 @@ int import_url_change_last_component(const char *url, const char *suffix, char *
 
 static const char* const import_verify_table[_IMPORT_VERIFY_MAX] = {
         [IMPORT_VERIFY_NO] = "no",
-        [IMPORT_VERIFY_SUM] = "sum",
+        [IMPORT_VERIFY_CHECKSUM] = "checksum",
         [IMPORT_VERIFY_SIGNATURE] = "signature",
 };
 
index da87a4012b38cdccd5fcacef3da87f7413e87409..ff155b0ff282ac0dc22270c07596af1a8bda0046 100644 (file)
@@ -27,7 +27,7 @@
 
 typedef enum ImportVerify {
         IMPORT_VERIFY_NO,
-        IMPORT_VERIFY_SUM,
+        IMPORT_VERIFY_CHECKSUM,
         IMPORT_VERIFY_SIGNATURE,
         _IMPORT_VERIFY_MAX,
         _IMPORT_VERIFY_INVALID = -1,