Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mbed dm: Remove references to internal script from help #8104

Merged
merged 1 commit into from
Sep 19, 2018

Conversation

theotherjimmy
Copy link
Contributor

Description

Now that we are delegating the help text to device_managment.py,
it should print out help as if it's invoked with mbed device-management.
This PR changes the argument parser and the help text to do just that.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change

### Description

Now that we are delegating the help text to `device_managment.py`,
it should print out help as if it's invoked with `mbed device-management`.
This PR changes the argument parser and the help text to do just that.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
@theotherjimmy
Copy link
Contributor Author

When combined with ARMmbed/mbed-cli#751:

$  mbed dm -h
[mbed] Auto-installing missing Python modules...
---
usage: mbed device-management [-h] [-l {debug,info,warning,exception}]
                              [--version]
                              {create,parse,verify,cert,init,sign,update} ...

Create or transform a manifest. Use mbed device-management [command] -h for
help on each command.

positional arguments:
  {create,parse,verify,cert,init,sign,update}
    create              Create a new manifest
    parse               Parse an existing manifest
    verify              Verify an existing manifest
    cert                Create or examine a certificate
    init                Set default values for manifests
    sign                Sign an existing manifest
    update              Work with the Mbed Cloud Update service

optional arguments:
  -h, --help            show this help message and exit
  -l {debug,info,warning,exception}, --log-level {debug,info,warning,exception}
  --version             display the version

@MarceloSalazar
Copy link

This is great! Thank you!

@cmonr
Copy link
Contributor

cmonr commented Sep 12, 2018

/morph build

@cmonr
Copy link
Contributor

cmonr commented Sep 12, 2018

Thanks for the sample output!

@mbed-ci
Copy link

mbed-ci commented Sep 12, 2018

Build : SUCCESS

Build number : 3063
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8104/

Triggering tests

/morph test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Sep 12, 2018

@cmonr
Copy link
Contributor

cmonr commented Sep 19, 2018

/morph test

@mbed-ci
Copy link

mbed-ci commented Sep 19, 2018

Test : SUCCESS

Build number : 2890
Test logs :http://mbed-os-logs.s3-website-us-west-1.amazonaws.com/?prefix=logs/8104/2890

@0xc0170 0xc0170 merged commit 0f1075c into ARMmbed:master Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants