mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 18:43:50 +00:00
fs: add support for flag --no-console on windows to hide the console window
This commit is contained in:
committed by
Nick Craig-Wood
parent
b569dc11a0
commit
7a496752f3
@@ -382,6 +382,11 @@ func initConfig() {
|
||||
// Finish parsing any command line flags
|
||||
configflags.SetFlags(ci)
|
||||
|
||||
// Hide console window
|
||||
if ci.NoConsole {
|
||||
terminal.HideConsole()
|
||||
}
|
||||
|
||||
// Load filters
|
||||
err := filterflags.Reload(ctx)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user