Skip to content

Commit

Permalink
Default to the current directory for output
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmdiaa committed Nov 8, 2023
1 parent 1e13f5a commit 8ca39d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/files/filesGet.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ var filesGetCmd = &cobra.Command{
func init() {
FilesCmd.AddCommand(filesGetCmd)

filesGetCmd.Flags().StringVar(&outputDir, "output-dir", "", "Path to directory which should be used to store files")
filesGetCmd.MarkFlagRequired("output-dir")
filesGetCmd.Flags().StringVar(&outputDir, "output-dir", ".", "Path to directory which should be used to store files")

filesGetCmd.Flags().BoolVar(&partialNameMatch, "partial-name-match", false, "Get all files with a partial name match")
}
Expand Down

0 comments on commit 8ca39d4

Please sign in to comment.