diff options
author | Alasdair Kergon <agk@redhat.com> | 2002-02-11 21:00:35 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2002-02-11 21:00:35 +0000 |
commit | 6fda126dd700f6ef7fef71283c12b23c7a06a1d2 (patch) | |
tree | 40d5d09f230eceea5199d5964e7abe86eb83117a /tools/vgdisplay.c | |
parent | 60274aba6ec2c6a6a0e1e2656d97a574b79f5775 (diff) | |
download | lvm2-6fda126dd700f6ef7fef71283c12b23c7a06a1d2.tar.gz lvm2-6fda126dd700f6ef7fef71283c12b23c7a06a1d2.tar.xz lvm2-6fda126dd700f6ef7fef71283c12b23c7a06a1d2.zip |
Run through indent - no (intentional) changes to any code.
Diffstat (limited to 'tools/vgdisplay.c')
-rw-r--r-- | tools/vgdisplay.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/vgdisplay.c b/tools/vgdisplay.c index 45a5d561..a191c312 100644 --- a/tools/vgdisplay.c +++ b/tools/vgdisplay.c @@ -24,12 +24,12 @@ static int vgdisplay_single(struct cmd_context *cmd, const char *vg_name); int vgdisplay(struct cmd_context *cmd, int argc, char **argv) { - if (arg_count(cmd,colon_ARG) && arg_count(cmd,short_ARG)) { + if (arg_count(cmd, colon_ARG) && arg_count(cmd, short_ARG)) { log_error("Option -c is not allowed with option -s"); return EINVALID_CMD_LINE; } - if (argc && arg_count(cmd,activevolumegroups_ARG)) { + if (argc && arg_count(cmd, activevolumegroups_ARG)) { log_error("Option -A is not allowed with volume group names"); return EINVALID_CMD_LINE; } @@ -78,19 +78,19 @@ static int vgdisplay_single(struct cmd_context *cmd, const char *vg_name) if (vg->status & EXPORTED_VG) log_print("WARNING: volume group \"%s\" is exported", vg_name); - if (arg_count(cmd,colon_ARG)) { + if (arg_count(cmd, colon_ARG)) { vgdisplay_colons(vg); return 0; } - if (arg_count(cmd,short_ARG)) { + if (arg_count(cmd, short_ARG)) { vgdisplay_short(vg); return 0; } vgdisplay_full(vg); /* was vg_show */ - if (arg_count(cmd,verbose_ARG)) { + if (arg_count(cmd, verbose_ARG)) { vgdisplay_extents(vg); process_each_lv_in_vg(cmd, vg, &lvdisplay_full); @@ -101,4 +101,3 @@ static int vgdisplay_single(struct cmd_context *cmd, const char *vg_name) return 0; } - |