Revision 7fb619a0 snf-app/synnefo/manage.py

b/snf-app/synnefo/manage.py
4 4
BaseCommand, LaxOptionParser, handle_default_options
5 5

  
6 6
from optparse import Option, make_option
7
from synnefo import get_version
7
from synnefo.version import get_component_version
8 8

  
9 9
import sys
10 10
import os
......
36 36
        # These options could affect the commands that are available, so they
37 37
        # must be processed early.
38 38
        parser = LaxOptionParser(usage="%prog subcommand [options] [args]",
39
                                 version=get_version(),
39
                                 version=get_component_version('synnefo.manage'),
40 40
                                 option_list=option_list)
41 41
        self.autocomplete()
42 42
        try:

Also available in: Unified diff