mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 07:11:08 +00:00
100870e142
Accept a subcommand as an alternative to the --generate option. It accepts a custom config directory through either the --home or --config options, using the default location if neither is given. Add the options --gui-user and --gui-password to "generate", but not the "serve --generate" option form. If either is given, an existing config will not abort the command, but rather load, modify and save it with the new credentials. The password can be read from standard input by passing only a single dash as argument. Config modification is skipped if the value matches what's already in the config. * cmd/syncthing: Utilize lib/locations package in generate(). Instead of manually joining paths with "magic" file names, get them from the centralized locations helper lib. * cmd/syncthing: Simplify logging for --generate option. Visible change: No more timestamp prefixes. |
||
---|---|---|
.. | ||
cli | ||
cmdutil | ||
decrypt | ||
generate | ||
.gitignore | ||
.stfolder | ||
blockprof.go | ||
crash_reporting_test.go | ||
crash_reporting.go | ||
debug.go | ||
heapprof.go | ||
main.go | ||
monitor_test.go | ||
monitor.go | ||
openurl_unix.go | ||
openurl_windows.go | ||
perfstats_unix.go | ||
perfstats_unsupported.go | ||
traceback.go |