diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-24 15:34:57 +0300 |
|---|---|---|
| committer | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-24 15:34:57 +0300 |
| commit | f7275ade1db4b188fa33acf2d3519b3a0c3bada7 (patch) | |
| tree | c307059026d5d9d7a81aa97014c570080eda2c51 /cmd | |
| parent | f88fdbbf69710464139bf2bb0b14ca35293df720 (diff) | |
Rename URL open hotkey
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/tasksamurai/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/tasksamurai/main.go b/cmd/tasksamurai/main.go index 2238c82..8329fa1 100644 --- a/cmd/tasksamurai/main.go +++ b/cmd/tasksamurai/main.go @@ -13,6 +13,7 @@ import ( func main() { debugLog := flag.String("debug-log", "", "path to debug log file") + browserCmd := flag.String("browser-cmd", "firefox", "command used to open URLs") flag.Parse() if err := task.SetDebugLog(*debugLog); err != nil { @@ -20,7 +21,7 @@ func main() { os.Exit(1) } - m, err := ui.New(flag.Args()) + m, err := ui.New(flag.Args(), *browserCmd) if err != nil { fmt.Fprintln(os.Stderr, "failed to load tasks:", err) os.Exit(1) |
