[PATCH] fix broken set [+-]o output

2019-07-24 Thread Martijn Dekker
Commit f3634584 introduced short-form shell options without long-form equivalents. This broke the output of 'set -o' and 'set +o' as the function writing this output assumed all options have long names. This simple patch removes that assumption. -- modernish -- harness the shell https://github

Re: [PATCH] fix broken set [+-]o output

2019-08-02 Thread Denys Vlasenko
Applied, thanks On Wed, Jul 24, 2019 at 6:29 PM Martijn Dekker wrote: > > Commit f3634584 introduced short-form shell options without long-form > equivalents. This broke the output of 'set -o' and 'set +o' as the > function writing this output assumed all options have long names. This > simple pa