The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7425

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From dc8d26b5d5303b0b699e903a986fa97cd32a3bfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Mon, 25 May 2020 12:09:47 -0400
Subject: [PATCH] lxc/config: Add -e shorthand
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 lxc/config.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lxc/config.go b/lxc/config.go
index 559a557482..94bb3abe57 100644
--- a/lxc/config.go
+++ b/lxc/config.go
@@ -360,7 +360,7 @@ func (c *cmdConfigGet) Command() *cobra.Command {
        cmd.Long = cli.FormatSection(i18n.G("Description"), i18n.G(
                `Get values for instance or server configuration keys`))
 
-       cmd.Flags().BoolVar(&c.flagExpanded, "expanded", false, i18n.G("Access 
the expanded configuration"))
+       cmd.Flags().BoolVarP(&c.flagExpanded, "expanded", "e", false, 
i18n.G("Access the expanded configuration"))
        cmd.Flags().StringVar(&c.config.flagTarget, "target", "", 
i18n.G("Cluster member name")+"``")
        cmd.RunE = c.Run
 
@@ -610,7 +610,7 @@ func (c *cmdConfigShow) Command() *cobra.Command {
        cmd.Long = cli.FormatSection(i18n.G("Description"), i18n.G(
                `Show instance or server configurations`))
 
-       cmd.Flags().BoolVar(&c.flagExpanded, "expanded", false, i18n.G("Show 
the expanded configuration"))
+       cmd.Flags().BoolVarP(&c.flagExpanded, "expanded", "e", false, 
i18n.G("Show the expanded configuration"))
        cmd.Flags().StringVar(&c.config.flagTarget, "target", "", 
i18n.G("Cluster member name")+"``")
        cmd.RunE = c.Run
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to