summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
authorManikandan Selvaganesh <mselvaga@redhat.com>2015-07-30 18:29:41 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-08-21 01:34:50 -0700
commitb9e87f39386fc9c591c7698357c2899afc255b95 (patch)
treef018c7c2a6707e488f13ca8636ae3234d53565c3 /cli/src/cli.c
parent6cb73b4fe798b7bf3aface0aac2a4e6c7c618c0e (diff)
quota :display the size of soft limit percentage
Display the size equivalent to the soft limit percentage in gluster v quota <volname> list <path> and gluster v quota <volname> list-objects <path> command Change-Id: I31ee82e9e836068348cf9458dcaf13f043d9fd87 BUG: 1248521 Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com> Reviewed-on: http://review.gluster.org/11808 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index cc2862c5318..3a27a3e7085 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -758,18 +758,18 @@ print_quota_list_header (int type)
{
if (type == GF_QUOTA_OPTION_TYPE_LIST) {
cli_out (" Path Hard-limit "
- "Soft-limit Used Available Soft-limit exceeded?"
- " Hard-limit exceeded?");
+ " Soft-limit Used Available Soft-limit "
+ "exceeded? Hard-limit exceeded?");
cli_out ("-----------------------------------------------------"
"-----------------------------------------------------"
- "-----------------");
+ "---------------------");
} else {
cli_out (" Path Hard-limit "
- "Soft-limit Files Dirs Available "
+ " Soft-limit Files Dirs Available "
"Soft-limit exceeded? Hard-limit exceeded?");
cli_out ("-----------------------------------------------------"
"-----------------------------------------------------"
- "-----------------------------------");
+ "-------------------------------------");
}
}