Skip to content

Commit dfe86a1

Browse files
committed
remove deprecated flag
1 parent 132e3e5 commit dfe86a1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

cmd/main/main.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ func main() {
121121
var useFilenameAsTag bool
122122
rootCmd.PersistentFlags().BoolVarP(&useFilenameAsTag, "use-filename-tag", "T", false, "Add the ENEX filename as tag to all documents.")
123123

124-
var unzip bool
125-
rootCmd.PersistentFlags().BoolVarP(&unzip, "unzip", "u", false, "Unzip .zip files found in notes")
126-
127124
// run root command
128125
err := rootCmd.Execute()
129126
if err != nil {
@@ -157,7 +154,7 @@ func importENEX(cmd *cobra.Command, args []string) {
157154
inputFile.FailedNoteCatcher(&failedNotes)
158155
inputFile.FailedNoteSignal <- true
159156
}()
160-
157+
161158
// Producer
162159
go func() {
163160
err := inputFile.ReadFromFile()

0 commit comments

Comments
 (0)