** Set or clear a shell flag according to a boolean value. */
| 20737 | ** Set or clear a shell flag according to a boolean value. |
| 20738 | */ |
| 20739 | static void setOrClearFlag(ShellState *p, unsigned mFlag, const char *zArg){ |
| 20740 | if( booleanValue(zArg) ){ |
| 20741 | ShellSetFlag(p, mFlag); |
| 20742 | }else{ |
| 20743 | ShellClearFlag(p, mFlag); |
| 20744 | } |
| 20745 | } |
| 20746 | |
| 20747 | /* |
| 20748 | ** Close an output file, assuming it is not stderr or stdout |
no test coverage detected