~kdub/unity-system-compositor/0.24-compatibility

« back to all changes in this revision

Viewing changes to src/system_compositor.cpp

  • Committer: Tarmac
  • Author(s): Robert Ancell
  • Date: 2013-07-03 04:37:49 UTC
  • mfrom: (32.1.1 trunk)
  • Revision ID: tarmac-20130703043749-jlxo9ad6eqazil0k
Fix --from-dm-fd and --to-dm-fd command line options being broken. Fixes: https://bugs.launchpad.net/bugs/1197232.

Approved by PS Jenkins bot, Daniel van Vugt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        namespace po = boost::program_options;
38
38
 
39
39
        add_options()
 
40
            ("from-dm-fd", po::value<int>(),  "File descriptor of read end of pipe from display manager [int]")
 
41
            ("to-dm-fd", po::value<int>(),  "File descriptor of write end of pipe to display manager [int]");
 
42
       add_options()
40
43
            ("version", "Show version of Unity System Compositor");
41
 
            ("to-dm-fd", po::value<int>(),  "File descriptor of write end of pipe to display manager [int]");
42
 
            ("to-dm-fd", po::value<int>(),  "File descriptor of write end of pipe to display manager [int]");
43
44
    }
44
45
 
45
46
    int from_dm_fd()