tools: Hide new commands behind experimental flag
Hide the commands behind a flag so we can continue doing releases while
the commands aren't ready.
diff --git a/tools/kmod.c b/tools/kmod.c
index 5ebe70a..c9d2cc8 100644
--- a/tools/kmod.c
+++ b/tools/kmod.c
@@ -40,10 +40,13 @@
static const struct kmod_cmd *kmod_cmds[] = {
&kmod_cmd_help,
- &kmod_cmd_insert,
&kmod_cmd_list,
- &kmod_cmd_remove,
&kmod_cmd_static_nodes,
+
+#ifdef ENABLE_EXPERIMENTAL
+ &kmod_cmd_insert,
+ &kmod_cmd_remove,
+#endif
};
static const struct kmod_cmd *kmod_compat_cmds[] = {