Skip to content

Commit

Permalink
Fix help in e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
monkbroc committed Jun 21, 2024
1 parent b61e545 commit abcba36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion test/e2e/binary.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ describe('Binary Commands', () => {
'Help: particle help binary <command>',
'',
'Commands:',
' inspect Describe binary contents',
' inspect Describe binary contents',
' enable-device-protection Create a protected bootloader binary',
'',
'Global Options:',
' -v, --verbose Increases how much logging to display [count]',
Expand Down
7 changes: 4 additions & 3 deletions test/e2e/help.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ describe('Help & Unknown Command / Argument Handling', () => {
'cloud claim', 'cloud remove', 'cloud name', 'cloud flash',
'cloud compile', 'cloud nyan', 'cloud login', 'cloud logout',
'cloud', 'compile', 'config', 'device add', 'device remove',
'device rename', 'device doctor', 'device', 'doctor', 'flash',
'device rename', 'device doctor', 'device',
'device-protection', 'device-protection status', 'device-protection disable', 'device-protection enable',
'doctor', 'flash',
'function list', 'function call', 'function', 'get', 'identify',
'keys new', 'keys load', 'keys save', 'keys send', 'keys doctor',
'keys server', 'keys address', 'keys', 'library add',
Expand All @@ -72,8 +74,7 @@ describe('Help & Unknown Command / Argument Handling', () => {
'usb setup-done', 'usb configure', 'usb cloud-status', 'usb network-interfaces', 'usb',
'variable list', 'variable get', 'variable monitor', 'variable',
'webhook create', 'webhook list', 'webhook delete', 'webhook POST',
'webhook GET', 'webhook', 'whoami', 'wifi add', 'wifi join', 'wifi clear', 'wifi list', 'wifi remove', 'wifi current', 'wifi',
'device-protection', 'device-protection status', 'device-protection disable', 'device-protection enable'
'webhook GET', 'webhook', 'whoami', 'wifi add', 'wifi join', 'wifi clear', 'wifi list', 'wifi remove', 'wifi current', 'wifi'
];

const mainCmds = dedupe(allCmds.map(c => c.split(' ')[0]));
Expand Down

0 comments on commit abcba36

Please sign in to comment.