change default file path from stdin
parent
42d532ee61
commit
50913b8913
|
|
@ -34,7 +34,7 @@ func main() {
|
|||
func _main() error {
|
||||
defaultFilepath, ok := os.LookupEnv("PTTODO_FILE")
|
||||
if !ok {
|
||||
defaultFilepath = "-"
|
||||
defaultFilepath = "./todo.yaml"
|
||||
}
|
||||
filepath := flag.String("f", defaultFilepath, "($PTTODO_FILE) path to yaml file or dir (starting with root then alphabetical for dir)")
|
||||
filepathToMergeIn := flag.String("g", "", "path to yaml file to merge into -f (modifies f)")
|
||||
|
|
|
|||
Loading…
Reference in New Issue