az: 'help' lists aliases
1 files changed, 5 insertions(+), 4 deletions(-)

M bin/az
M bin/az +5 -4
@@ 7,9 7,10 @@ if test "$firstcmd" != '.'; then
     exec ~/.local/bin/az "$@"
 fi
 
-# User typed `az . some alias ...` let's process the `some alias ...`
+# User typed `az . some alias ...` let's process the `some alias ...`;
+# If they didn't type any alias, pretend they typed `help`.
 shift
-cmd="$1"
+cmd="${1:-help}"
 
 case "$cmd" in
     jobs)

          
@@ 36,12 37,12 @@ case "$cmd" in
     computes|computers)
         az ml compute list --type amlcompute
         az ml compute list --type computeinstance
-        # ~/.local/bin/az ml compute list --type kubernetes
+        # az ml compute list --type kubernetes
     ;;
     computesizes|sizes)
         az ml compute list-sizes --query 'value[].{name: name, vCpUs: vCpUs, memoryGb: join(``, [to_string(@.memoryGb), `" GB"`])}'
     ;;
-    sietse)
+    help)
         echo jobs: all jobs of any type
         echo sweeps: all sweep jobs
         echo commands: all command jobs