This repository was archived by the owner on Dec 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2020 */
2121const usage = {
2222 strict : 'screenshot' ,
23+ command : 'screenshot' ,
2324 title : 'Capture screenshot' ,
24- header : 'Capture a screenshot to the clipboard , optionally specifying which region of the window to capture.' ,
25+ header : 'Capture a screenshot, optionally specifying which region of the window to capture.' ,
2526 example : 'screenshot [which]' ,
2627 detailedExample : [
2728 { command : 'screenshot sidecar' , docs : 'capture the sidecar contents' } ,
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ describe('Take screenshot', function() {
4949 . then ( cli . expectError ( 0 , 'You requested to screenshot the last REPL output, but this is the first command' ) ) )
5050
5151 it ( 'should fail to take screenshot with bogus arg' , ( ) => cli . do ( `screenshot goober` , this . app )
52- . then ( cli . expectError ( 500 , 'Capture a screenshot to the clipboard ' ) ) ) // part of the usage message
52+ . then ( cli . expectError ( 500 , 'Capture a screenshot' ) ) ) // part of the usage message
5353
5454 it ( 'should take screenshot with no arguments' , ( ) => takeScreenshot ( this ) )
5555 it ( 'should take screenshot full' , ( ) => takeScreenshot ( this , 'full' ) )
You can’t perform that action at this time.
0 commit comments