This commit is contained in:
@ -22,7 +22,7 @@ namespace dropshell
|
||||
{
|
||||
CommandRegistry::instance().register_command({health_name_list,
|
||||
health_handler,
|
||||
std_autocomplete_allowallservices,
|
||||
std_autocomplete_allowstar,
|
||||
false, // hidden
|
||||
true, // requires_config
|
||||
true, // requires_install
|
||||
|
@ -27,7 +27,7 @@ namespace dropshell
|
||||
{
|
||||
CommandRegistry::instance().register_command({install_name_list,
|
||||
install_handler,
|
||||
std_autocomplete_allowallservices,
|
||||
std_autocomplete_allowstar,
|
||||
false, // hidden
|
||||
false, // requires_config
|
||||
false, // requires_install
|
||||
|
@ -24,7 +24,7 @@ namespace dropshell {
|
||||
|
||||
// defined in standard_autocomplete.cpp
|
||||
void std_autocomplete(const CommandContext& ctx);
|
||||
void std_autocomplete_allowallservices(const CommandContext& ctx);
|
||||
void std_autocomplete_allowstar(const CommandContext& ctx);
|
||||
|
||||
|
||||
} // namespace dropshell
|
||||
|
@ -26,7 +26,7 @@ void std_autocomplete(const CommandContext &ctx)
|
||||
}
|
||||
}
|
||||
|
||||
void std_autocomplete_allowallservices(const CommandContext &ctx)
|
||||
void std_autocomplete_allowstar(const CommandContext &ctx)
|
||||
{
|
||||
std_autocomplete(ctx);
|
||||
if (ctx.args.size() == 1)
|
||||
|
@ -19,7 +19,7 @@ namespace dropshell
|
||||
{
|
||||
CommandRegistry::instance().register_command({uninstall_name_list,
|
||||
uninstall_handler,
|
||||
std_autocomplete_allowallservices,
|
||||
std_autocomplete_allowstar,
|
||||
false, // hidden
|
||||
true, // requires_config
|
||||
true, // requires_install
|
||||
|
Reference in New Issue
Block a user