pw_watch: Update target/directory syntax
Since specifying which Ninja targets to build is now just as important
as which directory to build, update pw_watch's command line syntax to
better support specifying build targets and directories.
Before
pw watch out#host#docs another/build/dir#stm32f429i
After
pw watch out host docs --build-directory another/build/dir stm32f429i
Change-Id: Ic41dc6ce277ed240402877e9d875e8228aaac48b
diff --git a/docs/getting_started.md b/docs/getting_started.md
index d1fb372..1a46d86 100644
--- a/docs/getting_started.md
+++ b/docs/getting_started.md
@@ -43,7 +43,7 @@
(4) Start the watcher. The watcher will invoke Ninja to build all the targets
```bash
-$ pw watch out#default#stm32f429i
+$ pw watch out default stm32f429i
▒█████▄ █▓ ▄███▒ ▒█ ▒█ ░▓████▒ ░▓████▒ ▒▓████▄
▒█░ █░ ░█▒ ██▒ ▀█▒ ▒█░ █ ▒█ ▒█ ▀ ▒█ ▀ ▒█ ▀█▌
@@ -246,7 +246,7 @@
which Ninja targets to build:
```bash
-$ pw watch out#default#stm32f429i
+$ pw watch out default stm32f429i
```
This is equivalent to the following Ninja invocation: