File tree Expand file tree Collapse file tree 1 file changed +70
-0
lines changed
subprojects/groovy-groovysh/src/spec/doc Expand file tree Collapse file tree 1 file changed +70
-0
lines changed Original file line number Diff line number Diff line change @@ -593,6 +593,17 @@ saved into the `.groovy/groovysh.ser` file in the user home directory.
593
593
594
594
Set options.
595
595
596
+ ----
597
+ groovy> /setopt -?
598
+ setopt - set options
599
+ Usage: setopt [-m] option ...
600
+ setopt
601
+ -? --help Displays command help
602
+ -m Use pattern matching
603
+ ----
604
+
605
+ If no option is given, the current set options are displayed.
606
+
596
607
----
597
608
groovy> /setopt
598
609
disable-event-expansion
@@ -602,6 +613,8 @@ no-empty-word-options
602
613
groovy>
603
614
----
604
615
616
+ See also `/unsetopt` to unset options.
617
+
605
618
[[GroovyShell-setvar]]
606
619
==== `/setvar`
607
620
@@ -669,6 +682,63 @@ Usage: ttop [OPTIONS]
669
682
-n --nthreads=NTHREADS Only display up to NTHREADS threads
670
683
----
671
684
685
+ [[GroovyShell-unsetopt]]
686
+ ==== `/unsetopt`
687
+
688
+ Unset options.
689
+
690
+ ----
691
+ groovy> /unsetopt -?
692
+ unsetopt - unset options
693
+ Usage: unsetopt [-m] option ...
694
+ unsetopt
695
+ -? --help Displays command help
696
+ -m Use pattern matching
697
+ ----
698
+
699
+ If no option is given, the current unset options are displayed.
700
+
701
+ ----
702
+ groovy> /unsetopt
703
+ complete-in-word
704
+ complete-matcher-camelcase
705
+ no-complete-matcher-typo
706
+ history-verify
707
+ no-history-ignore-space
708
+ no-history-ignore-dups
709
+ no-history-reduce-blanks
710
+ no-history-beep
711
+ no-history-incremental
712
+ no-history-timestamped
713
+ no-auto-group
714
+ no-auto-menu
715
+ no-auto-list
716
+ auto-menu-list
717
+ recognize-exact
718
+ no-group
719
+ group-persist
720
+ case-insensitive
721
+ list-ambiguous
722
+ list-packed
723
+ list-rows-first
724
+ glob-complete
725
+ menu-complete
726
+ auto-fresh-line
727
+ delay-line-wrap
728
+ no-auto-param-slash
729
+ no-auto-remove-slash
730
+ insert-tab
731
+ mouse
732
+ disable-highlighter
733
+ no-bracketed-paste
734
+ erase-line-on-finish
735
+ case-insensitive-search
736
+ disable-undo
737
+ groovy>
738
+ ----
739
+
740
+ See also `/setopt` to set options.
741
+
672
742
[[GroovyShell-doc]]
673
743
==== `/doc`
674
744
You can’t perform that action at this time.
0 commit comments