[rt-commit] r132 - /redwax-tool/trunk/redwax-tool.c

rt-commit at redwax.eu rt-commit at redwax.eu
Mon Dec 20 09:27:41 CET 2021


Author: minfrin at redwax.eu
Date: Mon Dec 20 09:27:40 2021
New Revision: 132

Log:
Cater for various completion scenarios.

Modified:
    redwax-tool/trunk/redwax-tool.c

Modified: redwax-tool/trunk/redwax-tool.c
==============================================================================
--- redwax-tool/trunk/redwax-tool.c	(original)
+++ redwax-tool/trunk/redwax-tool.c	Mon Dec 20 09:27:40 2021
@@ -2747,6 +2747,14 @@
                 redwax_set_secret_token_in(r, optarg);
                 break;
             }
+            case REDWAX_TOOL_USER_IN: {
+                redwax_complete_user(r, optarg, state.isquoted);
+                break;
+            }
+            case REDWAX_TOOL_GROUP_IN: {
+                redwax_complete_group(r, optarg, state.isquoted);
+                break;
+            }
             case REDWAX_TOOL_PEM_IN: {
                 redwax_dir_walk(r, optarg, &rt_run_process_pem_in);
                 break;
@@ -2765,6 +2773,14 @@
             }
             case REDWAX_TOOL_PKCS11_MODULE_OUT: {
                 redwax_pkcs11_module_out(r, optarg);
+                break;
+            }
+            case REDWAX_TOOL_USER_OUT: {
+                redwax_complete_user(r, optarg, state.isquoted);
+                break;
+            }
+            case REDWAX_TOOL_GROUP_OUT: {
+                redwax_complete_group(r, optarg, state.isquoted);
                 break;
             }
             }
@@ -2865,6 +2881,14 @@
             redwax_complete_file(r, "", state.isquoted);
             break;
         }
+        case REDWAX_TOOL_USER_IN: {
+            redwax_complete_user(r, "", state.isquoted);
+            break;
+        }
+        case REDWAX_TOOL_GROUP_IN: {
+            redwax_complete_group(r, "", state.isquoted);
+            break;
+        }
         case REDWAX_TOOL_FILTER: {
             redwax_complete_filter(r, "", state.isquoted);
             break;
@@ -2923,6 +2947,14 @@
         }
         case REDWAX_TOOL_JWKS_OUT: {
             redwax_complete_file(r, "", state.isquoted);
+            break;
+        }
+        case REDWAX_TOOL_USER_OUT: {
+            redwax_complete_user(r, "", state.isquoted);
+            break;
+        }
+        case REDWAX_TOOL_GROUP_OUT: {
+            redwax_complete_group(r, "", state.isquoted);
             break;
         }
         }



More information about the rt-commit mailing list