diff mbox series

[PATCHv3,4/4] bitbake-getvar: Add -v as short option for --value

Message ID 20230927171619.3352810-4-pkj@axis.com
State New
Headers show
Series [PATCHv3,1/4] bitbake-getvar: Add a (suppressable) error for undefined variables | expand

Commit Message

Peter Kjellerstedt Sept. 27, 2023, 5:16 p.m. UTC
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---

PATCHv3: New in this patch set.

 bitbake/bin/bitbake-getvar | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/bitbake/bin/bitbake-getvar b/bitbake/bin/bitbake-getvar
index 1b5bb2e1f5..22e2cb7d8d 100755
--- a/bitbake/bin/bitbake-getvar
+++ b/bitbake/bin/bitbake-getvar
@@ -24,7 +24,7 @@  if __name__ == "__main__":
     parser.add_argument("-r", "--recipe", help="Recipe name to query", default=None, required=False)
     parser.add_argument('-u', '--unexpand', help='Do not expand the value (with --value)', action="store_true")
     parser.add_argument('-f', '--flag', help='Specify a variable flag to query (with --value)', default=None)
-    parser.add_argument('--value', help='Only report the value, no history and no variable name', action="store_true")
+    parser.add_argument('-v', '--value', help='Only report the value, no history and no variable name', action="store_true")
     parser.add_argument('-q', '--quiet', help='Silence bitbake server logging', action="store_true")
     parser.add_argument('-s', '--ignore-undefined', help='Suppress any errors related to undefined variables', action="store_true")
     args = parser.parse_args()