Skip to content

Commit

Permalink
Remove some unneeded items from the help printout
Browse files Browse the repository at this point in the history
  • Loading branch information
0cyn committed Jan 14, 2024
1 parent 4ad04fd commit b89e84c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/dragon/shscripts/util
Original file line number Diff line number Diff line change
Expand Up @@ -83,33 +83,34 @@ usage()
echo -e "${PrefixColor}Configuration ${BoldColor}-=-=-${NC}"
echo -e " ${PackageColor}r${NC} | release - ${BoldColor}Create a release build (defines NDEBUG, enables 'releaseflags' value)${NC}"
echo -e " ${PackageColor}ro${NC} | rootless - ${BoldColor}Build for rootless package scheme${NC}"
echo -e " ${PackageColor}ddebug${NC} - ${BoldColor}Enable verbose debug logs${NC}"
echo -e " ${PackageColor}vn${NC} - ${BoldColor}Enable verbose ninja(-build)${NC}"
echo -e " ${PackageColor}vd${NC} - ${BoldColor}Enable verbose dragon${NC}"
echo -e " ${PackageColor}vg${NC} - ${BoldColor}Enable verbose dragongen${NC}"
echo -e " ${PackageColor}norm${NC} - ${BoldColor}Retain build.ninja after building${NC}"
# Debug commands. We should print them _somewhere_ but not here :thonk:
# echo -e " ${PackageColor}ddebug${NC} - ${BoldColor}Enable verbose debug logs${NC}"
# echo -e " ${PackageColor}vn${NC} - ${BoldColor}Enable verbose ninja(-build)${NC}"
# echo -e " ${PackageColor}vd${NC} - ${BoldColor}Enable verbose dragon${NC}"
# echo -e " ${PackageColor}vg${NC} - ${BoldColor}Enable verbose dragongen${NC}"
# echo -e " ${PackageColor}norm${NC} - ${BoldColor}Retain build.ninja after building${NC}"
echo ""
echo "Common invocations are 'dragon c b i' (clean all, build, install) or 'dragon do' (build and install)"
echo ""
echo -e "${PrefixColor}Distribution ${BoldColor}-=-=-${NC}"
echo -e " ${PackageColor}i${NC} | install - ${BoldColor}Install latest build to build device${NC}"
echo -e " ${PackageColor}u${NC} | uninstall - ${BoldColor}Uninstall latest build from build device${NC}"
echo -e " ${PackageColor}sn${NC} | send <file> - ${BoldColor}Install an arbitrary .deb to the device${NC}"
echo -e " ${PackageColor}sim${NC} | simulator - ${BoldColor}Install to the simulator instead of a device${NC}"
echo -e " ${PackageColor}sim${NC} | simulator - ${BoldColor}Install to the simulator instead of a device (e.g. dragon c b i sim)${NC}"
echo ""
echo -e "${PrefixColor}Device Management ${BoldColor}-=-=-${NC}"
echo -e " ${PackageColor}s${NC} | device - ${BoldColor}Set build device IP/Port${NC}"
echo -e " ${PackageColor}rs${NC} | respring - ${BoldColor}Respring the current build device${NC}"
echo -e " ${PackageColor}dr${NC} | devicerun - ${BoldColor}Run anything after this flag on device${NC}"
echo ""
echo -e "${PrefixColor}Tools ${BoldColor}-=-=-${NC}"
echo -e " ${PackageColor}lo${NC} | objcs - ${BoldColor}Configure llvm-objcs for use with dragon${NC}"
echo -e " ${PackageColor}debug [Process]${NC} - ${BoldColor}Start a debugging server on device and connect to it (Can be used with the install flag as well)${NC}"
echo -e " ${PackageColor}exp${NC} | export - ${BoldColor}Tell ninja to create a compile_commands.json${NC}"
echo -e " ${PackageColor}lo${NC} | objcs - ${BoldColor}Configure llvm-objcs for use with dragon${NC}"
echo -e " ${PackageColor}sr${NC} | rconf - ${BoldColor}Setup remote project build${NC}"
echo -e " ${PackageColor}up${NC} | update|upgrade - ${BoldColor}Update dragon${NC}"
echo -e " ${PackageColor}test${NC} - ${BoldColor}Run the test suite${NC}"
echo -e " ${PackageColor}time${NC} - ${BoldColor}Print time for each bash subcommand to run${NC}"
# echo -e " ${PackageColor}test${NC} - ${BoldColor}Run the test suite${NC}"
# echo -e " ${PackageColor}time${NC} - ${BoldColor}Print time for each bash subcommand to run${NC}"
echo ""
echo -e "${PrefixColor}Misc ${BoldColor}-=-=-${NC}"
echo -e " ${PackageColor}v${NC} | -v - ${BoldColor}Prints version information${NC}"
Expand Down

0 comments on commit b89e84c

Please sign in to comment.