diff options
Diffstat (limited to 'lib/oxidized/model/aosw.rb')
-rw-r--r-- | lib/oxidized/model/aosw.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/aosw.rb b/lib/oxidized/model/aosw.rb index 7543353..3e1fd53 100644 --- a/lib/oxidized/model/aosw.rb +++ b/lib/oxidized/model/aosw.rb @@ -13,7 +13,7 @@ class AOSW < Oxidized::Model prompt /^\(?.+\)?\s[#>]/ cmd :all do |cfg| - cfg.each_line.to_a[1..-2].join + cfg.cut_both end cmd :secret do |cfg| |