Mercurial > projects > sievemgr
comparison cmd/sievemgr/main.go @ 8:8caacf702c0d
Add edit subcommand for interactive editing of a script
author | Guido Berhoerster <guido+sievemgr@berhoerster.name> |
---|---|
date | Fri, 13 Nov 2020 10:49:08 +0100 |
parents | 3abc8be485c0 |
children | 44c07eb8ef08 |
comparison
equal
deleted
inserted
replaced
7:3abc8be485c0 | 8:8caacf702c0d |
---|---|
68 cmdDelete, | 68 cmdDelete, |
69 cmdInfo, | 69 cmdInfo, |
70 cmdCheck, | 70 cmdCheck, |
71 cmdCheckSpace, | 71 cmdCheckSpace, |
72 cmdRename, | 72 cmdRename, |
73 cmdEdit, | |
73 } | 74 } |
74 | 75 |
75 func usage() { | 76 func usage() { |
76 fmt.Fprintf(flag.CommandLine.Output(), | 77 fmt.Fprintf(flag.CommandLine.Output(), |
77 "usage:\n %s [options] [subcommand [options] [arguments]]\n", | 78 "usage:\n %s [options] [subcommand [options] [arguments]]\n", |