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 20
20
*/
21
21
const usage = {
22
22
strict : 'screenshot' ,
23
+ command : 'screenshot' ,
23
24
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.' ,
25
26
example : 'screenshot [which]' ,
26
27
detailedExample : [
27
28
{ 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() {
49
49
. then ( cli . expectError ( 0 , 'You requested to screenshot the last REPL output, but this is the first command' ) ) )
50
50
51
51
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
53
53
54
54
it ( 'should take screenshot with no arguments' , ( ) => takeScreenshot ( this ) )
55
55
it ( 'should take screenshot full' , ( ) => takeScreenshot ( this , 'full' ) )
You can’t perform that action at this time.
0 commit comments