From 206e0c26ac25f7b70352cb83fc54e2275bc5b762 Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Fri, 10 Jun 2016 15:14:40 -0600 Subject: [PATCH] Fix docstrings, hide Defcon commands --- pwndbg/__init__.py | 1 - pwndbg/commands/gdbinit.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pwndbg/__init__.py b/pwndbg/__init__.py index a504a945f..6b09c9dfc 100755 --- a/pwndbg/__init__.py +++ b/pwndbg/__init__.py @@ -60,7 +60,6 @@ import pwndbg.commands.segments import pwndbg.commands.xor import pwndbg.commands.peda import pwndbg.commands.gdbinit -import pwndbg.commands.defcon import pwndbg.commands.elf import pwndbg.commands.checksec import pwndbg.commands.config diff --git a/pwndbg/commands/gdbinit.py b/pwndbg/commands/gdbinit.py index a3d05f7b5..031a52180 100644 --- a/pwndbg/commands/gdbinit.py +++ b/pwndbg/commands/gdbinit.py @@ -25,13 +25,13 @@ def sstart(): @pwndbg.commands.Command @pwndbg.commands.OnlyWhenRunning def main(): - """GDBINIT compatibility alias for 'start' command.""" + """GDBINIT compatibility alias for 'main' command.""" pwndbg.commands.start.start() @pwndbg.commands.Command @pwndbg.commands.OnlyWhenRunning def libs(): - """GDBINIT compatibility alias for 'start' command.""" + """GDBINIT compatibility alias for 'libs' command.""" pwndbg.commands.vmmap.vmmap() @pwndbg.commands.Command