Skip to content

Commit

Permalink
Fix -d flag
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Jun 6, 2024
1 parent cd777ba commit bf303ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func Init() {

args := os.Args[1:]
for i, arg := range args {
if arg == "-daemon" {
if arg == "-daemon" || arg == "-d" {
args[i] = ""
}
}
Expand Down

0 comments on commit bf303ed

Please sign in to comment.