[lxc-devel] [lxd/master] Add missing column type S(snapshots) in "lxc list --help" column listing

jsavikko on Github lxc-bot at linuxcontainers.org
Tue Mar 1 12:05:37 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 487 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160301/cf56ba2f/attachment.bin>
-------------- next part --------------
From 2a28359c3115d164da6299385ca0f69f4556e2c3 Mon Sep 17 00:00:00 2001
From: Janne Savikko <janne.savikko at aalto.fi>
Date: Tue, 1 Mar 2016 13:43:36 +0200
Subject: [PATCH] Add missing column type S(snapshots) in "lxc list --help"
 column listing

Signed-off-by: Janne Savikko <janne.savikko at aalto.fi>
---
 lxc/list.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxc/list.go b/lxc/list.go
index dfa85df..bb831d6 100644
--- a/lxc/list.go
+++ b/lxc/list.go
@@ -79,6 +79,7 @@ The columns are:
 * p - pid of container init process
 * P - profiles
 * s - state
+* S - number of snapshots
 * t - type (persistent or ephemeral)
 
 Default column layout: ns46tS


More information about the lxc-devel mailing list