Skip to content
  • Greg Clayton's avatar
    Fixed the way set/show variables were being accessed to being natively · a7015092
    Greg Clayton authored
    accessed by the objects that own the settings. The previous approach wasn't
    very usable and made for a lot of unnecessary code just to access variables
    that were already owned by the objects.
    
    While I fixed those things, I saw that CommandObject objects should really
    have a reference to their command interpreter so they can access the terminal
    with if they want to output usaage. Fixed up all CommandObjects to take
    an interpreter and cleaned up the API to not need the interpreter to be
    passed in.
    
    Fixed the disassemble command to output the usage if no options are passed
    down and arguments are passed (all disassebmle variants take options, there
    are no "args only").
    
    llvm-svn: 114252
    a7015092
Loading