Skip to content

Commit

Permalink
Added version argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Nex committed May 20, 2012
1 parent deea128 commit d3ad2f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cuckoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import argparse

from lib.cuckoo.common.logo import logo
from lib.cuckoo.common.constants import CUCKOO_VERSION
from lib.cuckoo.common.exceptions import CuckooCriticalError
from lib.cuckoo.core.startup import *
from lib.cuckoo.core.scheduler import Scheduler
Expand All @@ -20,6 +21,7 @@ def main():
parser = argparse.ArgumentParser()
parser.add_argument("-q", "--quiet", help="Display only error messages", action="store_true", required=False)
parser.add_argument("-d", "--debug", help="Display debug messages", action="store_true", required=False)
parser.add_argument("-v", "--version", action="version", version="You are running Cuckoo Sandbox %s" % CUCKOO_VERSION)
args = parser.parse_args()

if args.quiet:
Expand Down

0 comments on commit d3ad2f2

Please sign in to comment.