aboutsummaryrefslogtreecommitdiffhomepage
path: root/cli.go
diff options
context:
space:
mode:
Diffstat (limited to 'cli.go')
-rw-r--r--cli.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/cli.go b/cli.go
index d1f2de1a..a6a55e0a 100644
--- a/cli.go
+++ b/cli.go
@@ -7,7 +7,10 @@ import (
)
var (
- userName string
+ userName string
+ dbusConfig string
+ dbusID string
+ mpris bool
mustWayland bool
mustX bool
@@ -19,7 +22,10 @@ var (
)
func init() {
- flag.StringVar(&userName, "u", "chronos", "Specify a username")
+ flag.StringVar(&userName, "u", "chronos", "Passwd name of user to run as")
+ flag.StringVar(&dbusConfig, "dbus-config", "builtin", "Path to D-Bus proxy config file, or \"builtin\" for defaults")
+ flag.StringVar(&dbusID, "dbus-id", "", "D-Bus ID of application, leave empty to disable own paths, has no effect if custom config is available")
+ flag.BoolVar(&mpris, "mpris", false, "Allow owning MPRIS D-Bus path, has no effect if custom config is available")
flag.BoolVar(&mustWayland, "wayland", false, "Share Wayland socket")
flag.BoolVar(&mustX, "X", false, "Share X11 socket and allow connection")