From c76cfc8c82c0ca96e3cd750491b02b04fb49674e Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 28 May 2020 07:24:37 -0700 Subject: [PATCH] Mark the wildcard argument to "arc liberate" as a path argument for shell completion Summary: This is a path argument, and shell completion should suggest tabs. Test Plan: Typed "arc liberate s", got path suggestions. Differential Revision: https://secure.phabricator.com/D21292 --- src/workflow/ArcanistLiberateWorkflow.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/workflow/ArcanistLiberateWorkflow.php b/src/workflow/ArcanistLiberateWorkflow.php index c8aa224f..1a85cbbc 100644 --- a/src/workflow/ArcanistLiberateWorkflow.php +++ b/src/workflow/ArcanistLiberateWorkflow.php @@ -29,7 +29,8 @@ EOTEXT ->setHelp( pht('Perform a clean rebuild, ignoring caches. Thorough, but slow.')), $this->newWorkflowArgument('argv') - ->setWildcard(true), + ->setWildcard(true) + ->setIsPathArgument(true), ); }