Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 331163
Collapse All | Expand All

(-)base/module.py (-12 / +11 lines)
Lines 263-280 Link Here
263
            params = ''.join([params, 'd:p:P:'])
263
            params = ''.join([params, 'd:p:P:'])
264
            long_params.extend(['device=', 'device-uri=', 'printer=', 'printer-name'])
264
            long_params.extend(['device=', 'device-uri=', 'printer=', 'printer-name'])
265
265
266
        if self.num_valid_modes > 1:
266
        if GUI_MODE in self.avail_modes and prop.gui_build:
267
            if GUI_MODE in self.avail_modes and prop.gui_build:
267
            params = ''.join([params, 'u'])
268
                params = ''.join([params, 'u'])
268
            long_params.extend(['gui', 'ui'])
269
                long_params.extend(['gui', 'ui'])
269
            
270
270
        if INTERACTIVE_MODE in self.avail_modes:
271
            if INTERACTIVE_MODE in self.avail_modes:
271
            params = ''.join([params, 'i'])
272
                params = ''.join([params, 'i'])
272
            long_params.extend(['interactive', 'text'])
273
                long_params.extend(['interactive', 'text'])
273
    
274
274
        if NON_INTERACTIVE_MODE in self.avail_modes:
275
            if NON_INTERACTIVE_MODE in self.avail_modes:
275
            params = ''.join([params, 'n'])
276
                params = ''.join([params, 'n'])
276
            long_params.extend(['noninteractive', 'non-interactive', 'batch'])
277
                long_params.extend(['noninteractive', 'non-interactive', 'batch'])
278
277
279
        if self.supported_ui_toolkits is not None and \
278
        if self.supported_ui_toolkits is not None and \
280
            self.num_supported_ui_toolkits >= 1 and prop.gui_build and \
279
            self.num_supported_ui_toolkits >= 1 and prop.gui_build and \

Return to bug 331163