From 26c6e119e259ee6eac990233f8b0710cb67ea6b2 Mon Sep 17 00:00:00 2001 From: Andy Kipp Date: Thu, 25 Apr 2024 20:10:18 +0200 Subject: [PATCH] Shortcut for shell-type (#5367) * Shortcut for shell-type * Shortcut for shell-type --------- Co-authored-by: a <1@1.1> --- news/shell_type.rst | 23 +++++++++++++++++++++++ xonsh/main.py | 1 + 2 files changed, 24 insertions(+) create mode 100644 news/shell_type.rst diff --git a/news/shell_type.rst b/news/shell_type.rst new file mode 100644 index 000000000..682be35e7 --- /dev/null +++ b/news/shell_type.rst @@ -0,0 +1,23 @@ +**Added:** + +* Added shortcut ``-st`` for ``--shell-type``. + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* + +**Security:** + +* diff --git a/xonsh/main.py b/xonsh/main.py index efd8f6a68..987e57749 100644 --- a/xonsh/main.py +++ b/xonsh/main.py @@ -215,6 +215,7 @@ def parser(): default=None, ) p.add_argument( + "-st", "--shell-type", help="What kind of shell should be used. " "Possible options: "