chiark / gitweb /
timedatectl: remove unused variables
[elogind.git] / src / import / pull.c
index b6283b54aa8abd946cc05181b67551e9c098801d..ef7b0359a74a3437bb53cd0f54fec78e9fd82e0c 100644 (file)
@@ -319,13 +319,13 @@ static int pull_dkr(int argc, char *argv[], void *userdata) {
 static int help(int argc, char *argv[], void *userdata) {
 
         printf("%s [OPTIONS...] {COMMAND} ...\n\n"
-               "Download container or virtual machine image.\n\n"
+               "Download container or virtual machine images.\n\n"
                "  -h --help                   Show this help\n"
                "     --version                Show package version\n"
                "     --force                  Force creation of image\n"
                "     --verify=                Verify downloaded image, one of: 'no',\n"
                "                              'checksum', 'signature'.\n"
-               "     --image-root=            Image root directory\n"
+               "     --image-root=PATH        Image root directory\n"
                "     --dkr-index-url=URL      Specify index URL to use for downloads\n\n"
                "Commands:\n"
                "  tar URL [NAME]              Download a TAR image\n"
@@ -433,6 +433,8 @@ int main(int argc, char *argv[]) {
         if (r <= 0)
                 goto finish;
 
+        ignore_signals(SIGPIPE, -1);
+
         r = pull_main(argc, argv);
 
 finish: