code: func AddFlags() {
  	defaultPath := "/x/y/z/we're/in-a-test"
  	if !buildinfo.TestingLinked() {
  		defaultPath = osutil.UserClientConfigPath()
  	}
  	flag.StringVar(&flagServer, "server", "", "Perkeep server prefix. If blank, the default from the \"server\" field of "+defaultPath+" is used. Acceptable forms: https://you.example.com, example.com:1345 (https assumed), or http://you.example.com/alt-root")
  	osutil.AddSecretRingFlag()
  }
docs: // AddFlags registers the "server" and "secret-keyring" string flags.