Explorar el Código

set: add -e example (#7090)

Managor hace 3 años
padre
commit
f00f1ac7b6
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      pages/common/set.md

+ 4 - 0
pages/common/set.md

@@ -17,3 +17,7 @@
 - Set various options, e.g. enable `vi` style line editing:
 
 `set -o {{vi}}`
+
+- Set the shell to exit as soon as the first error is encountered (mostly used in scripts):
+
+`set -e`