Skip to content

Commit fcd6209

Browse files
author
Ma Shimiao
committed
config.md: args of Hooks should be optional
Signed-off-by: Ma Shimiao <[email protected]>
1 parent 67c81aa commit fcd6209

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ Hooks allow for the configuration of custom actions related to the [lifecycle](r
328328
Entries in the array contain the following properties:
329329
* **`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001 `execv`'s *path*][ieee-1003.1-2001-xsh-exec].
330330
This specification extends the IEEE standard in that **`path`** MUST be absolute.
331-
* **`args`** (array of strings, REQUIRED) with the same semantics as [IEEE Std 1003.1-2001 `execv`'s *argv*][ieee-1003.1-2001-xsh-exec].
331+
* **`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001 `execv`'s *argv*][ieee-1003.1-2001-xsh-exec].
332332
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
333333
* **`timeout`** (int, OPTIONAL) is the number of seconds before aborting the hook.
334334
* **`poststart`** (array, OPTIONAL) is an array of [post-start hooks](#poststart).

schema/defs.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
}
9696
},
9797
"required": [
98-
"args",
9998
"path"
10099
]
101100
},

0 commit comments

Comments
 (0)