From ecd923e9f273e5d3dae5b5e9da81ff51caf726d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Kristian=20Schj=C3=B8dt?= Date: Thu, 26 Jan 2017 15:56:57 +0100 Subject: [PATCH] Add better documentation for how to use the -runQuery argument --- sql_runner/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql_runner/options.go b/sql_runner/options.go index 58c4a5b..99dd35c 100644 --- a/sql_runner/options.go +++ b/sql_runner/options.go @@ -70,7 +70,7 @@ func (o *Options) GetFlagSet() *flag.FlagSet { fs.StringVar(&(o.softLock), "softLock", "", "Optional argument, like '-lock' but the lockfile will be deleted even if the run fails") fs.StringVar(&(o.checkLock), "checkLock", "", "Checks whether the lockfile already exists") fs.StringVar(&(o.deleteLock), "deleteLock", "", "Will attempt to delete a lockfile if it exists") - fs.StringVar(&(o.runQuery), "runQuery", "", "Will run a single query in the playbook") + fs.StringVar(&(o.runQuery), "runQuery", "", "Will run a single query in the playbook. The query should be specified in the argument as: -runQuery :: e.g. -runQuery 00-setup::01-do_it) // TODO: add format flag if/when we support TOML return fs