Giter Club home page Giter Club logo

Comments (2)

mrhappyasthma avatar mrhappyasthma commented on June 25, 2024

Turns out the commands are listed by default in help command. But I need to add docstrings so that they get parsed correctly.

from happydebugging.

mrhappyasthma avatar mrhappyasthma commented on June 25, 2024

It's a lot better now as of 23682b3

However I can't figure out how to adjust the Syntax: part of the help text that appears to be autogenerated:

For example:

(lldb) help ivars
     Prints out all the ivars of an object.  Expects 'raw' input (see 'help
     raw-input'.)

Syntax: ivars
Print out all the ivars of an object.

  NOTE: The parsing of the ivar type encoding is very hacky, but it should
         be sufficient for most cases. Therefore the resulting list may have
         mistakes or could be missing some ivars whose type could not be
         parsed.

  Usage:
    ivars <instance>

The part of the above snippet: Syntax: ivars is autogenerated. And I cannot figure out how to have it list the parameter(s) taken. As a workaround, I manually append Usage: ivars <instance> to the bottom of the help text.

It's not ideal, but sufficient for now.

from happydebugging.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.