ソースを参照

Clarify saturnin__wraphook() docstring

Alois Mahdal 7 年 前
コミット
e617c5b27f
共有1 個のファイルを変更した4 個の追加4 個の削除を含む
  1. 4
    4
      src/saturnin.sh.skel

+ 4
- 4
src/saturnin.sh.skel ファイルの表示

@@ -371,11 +371,11 @@ saturnin__version() {
371 371
 
372 372
 saturnin__wraphook() {
373 373
     #
374
-    # Wrap command "$@" in hooks
374
+    # Wrap command $@ in hooks 'pre' and 'post'
375 375
     #
376
-    # Run pre hook, then "$@", then post hook.  Always exit
377
-    # with status of "$@", even if hooks fail.  Ignore
378
-    # post-hook if "$@" failed.
376
+    # Run pre hook, then command $@, then post hook.  Always exit with
377
+    # status of the payload command, even if hooks fail.  Ignore post-hook
378
+    # if payload command failed.
379 379
     #
380 380
     local es=0
381 381
     saturnin__runhook pre