diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-09 21:12:36 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-09 21:12:36 +0800 |
commit | a2644c0967c6d498ba827f0e1523c0ebc77c0095 (patch) | |
tree | c5dd0d3b8b8a31c78d6c58a3419aa9b263f6c6ae | |
parent | c797df730714846773938f1ec51190edf7defc2f (diff) | |
download | dexon-solidity-a2644c0967c6d498ba827f0e1523c0ebc77c0095.tar dexon-solidity-a2644c0967c6d498ba827f0e1523c0ebc77c0095.tar.gz dexon-solidity-a2644c0967c6d498ba827f0e1523c0ebc77c0095.tar.bz2 dexon-solidity-a2644c0967c6d498ba827f0e1523c0ebc77c0095.tar.lz dexon-solidity-a2644c0967c6d498ba827f0e1523c0ebc77c0095.tar.xz dexon-solidity-a2644c0967c6d498ba827f0e1523c0ebc77c0095.tar.zst dexon-solidity-a2644c0967c6d498ba827f0e1523c0ebc77c0095.zip |
Styling in Natspec Enums
-rw-r--r-- | CommandLineInterface.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp index aa651eb4..db12231a 100644 --- a/CommandLineInterface.cpp +++ b/CommandLineInterface.cpp @@ -161,22 +161,22 @@ void CommandLineInterface::handleMeta(DocumentationType _type, string const& _co std::string title; switch(_type) { - case DocumentationType::ABI_INTERFACE: + case DocumentationType::ABIInterface: argName = g_argAbiStr; suffix = ".abi"; title = "Contract JSON ABI"; break; - case DocumentationType::ABI_SOLIDITY_INTERFACE: + case DocumentationType::ABISolidityInterface: argName = g_argSolAbiStr; suffix = ".sol"; title = "Contract Solidity ABI"; break; - case DocumentationType::NATSPEC_USER: + case DocumentationType::NatspecUser: argName = g_argNatspecUserStr; suffix = ".docuser"; title = "User Documentation"; break; - case DocumentationType::NATSPEC_DEV: + case DocumentationType::NatspecDev: argName = g_argNatspecDevStr; suffix = ".docdev"; title = "Developer Documentation"; @@ -436,10 +436,10 @@ void CommandLineInterface::actOnInput() } handleBytecode(contract); - handleMeta(DocumentationType::ABI_INTERFACE, contract); - handleMeta(DocumentationType::ABI_SOLIDITY_INTERFACE, contract); - handleMeta(DocumentationType::NATSPEC_DEV, contract); - handleMeta(DocumentationType::NATSPEC_USER, contract); + handleMeta(DocumentationType::ABIInterface, contract); + handleMeta(DocumentationType::ABISolidityInterface, contract); + handleMeta(DocumentationType::NatspecDev, contract); + handleMeta(DocumentationType::NatspecUser, contract); } // end of contracts iteration } |