aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-filesystem.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-11-06 17:00:36 +0100
committerDavid Sterba <dsterba@suse.com>2015-11-06 17:00:36 +0100
commite29ec82e4e66042ca55bf8cd9ef609e3b21a7eb7 (patch)
tree1557a3ced964742e8495ae369cb45bf217bc53f2 /cmds-filesystem.c
parent4e01c34b8bf06268a515b7ffe83e905b0a02ef38 (diff)
downloadbtrfs-progs-e29ec82e4e66042ca55bf8cd9ef609e3b21a7eb7.tar.gz
btrfs-progs-e29ec82e4e66042ca55bf8cd9ef609e3b21a7eb7.tar.xz
btrfs-progs-e29ec82e4e66042ca55bf8cd9ef609e3b21a7eb7.zip
btrfs-progs: don't print version info from embedded subcommands
The version is provided by 'btrfs --version'. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-filesystem.c')
-rw-r--r--cmds-filesystem.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 3bd6304..0352945 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -916,7 +916,6 @@ devs_only:
free_fs_devices(fs_devices);
}
out:
- printf("%s\n", PACKAGE_STRING);
free_seen_fsid();
return ret;
}
@@ -1174,8 +1173,6 @@ static int cmd_filesystem_defrag(int argc, char **argv)
defrag_global_errors++;
}
}
- if (defrag_global_verbose)
- printf("%s\n", PACKAGE_STRING);
if (defrag_global_errors)
fprintf(stderr, "total %d failures\n", defrag_global_errors);