@@ -743,6 +743,13 @@ function assert_branch
fi
}
+function dim_alias
+{
+ # use posix mode to omit functions in set output
+ ( set -o posix; set ) | grep "^dim_alias_[a-zA-Z0-9_]*=" |\
+ sed 's/^dim_alias_/\t/;s/=/\t/'
+}
+
# dim subcommand aliases
dim_alias_af=apply-fixes
dim_alias_ai=apply-igt
@@ -273,6 +273,11 @@ for-each-workdir|fw *command*
Run the given command in all active workdirs including the main repository under
\$DIM_DRM_INTEL.
+alias
+-----
+
+List all aliases for the subcommand names.
+
help
----
Show this help. Install **rst2man(1)** for best results.
Helpful convenience. Signed-off-by: Jani Nikula <jani.nikula@intel.com> --- dim | 7 +++++++ dim.rst | 5 +++++ 2 files changed, 12 insertions(+)