main.c (1e21feb6280222a230fda1d87318ab58adde188f) main.c (45b00c44ceffeac8143fb8857a12677234114f2b)
1/*
2 * Copyright 6WIND S.A., 2014
3 *
4 * This work is licensed under the terms of the GNU GPL, version 2 or
5 * (at your option) any later version. See the COPYING file in the
6 * top-level directory.
7 */
8

--- 78 unchanged lines hidden (view full) ---

87 args->verbose = 1;
88 break;
89
90 case 'F': /* foreground */
91 args->foreground = 1;
92 break;
93
94 case 'p': /* pid_file */
1/*
2 * Copyright 6WIND S.A., 2014
3 *
4 * This work is licensed under the terms of the GNU GPL, version 2 or
5 * (at your option) any later version. See the COPYING file in the
6 * top-level directory.
7 */
8

--- 78 unchanged lines hidden (view full) ---

87 args->verbose = 1;
88 break;
89
90 case 'F': /* foreground */
91 args->foreground = 1;
92 break;
93
94 case 'p': /* pid_file */
95 args->pid_file = strdup(optarg);
95 args->pid_file = optarg;
96 break;
97
98 case 'S': /* unix_socket_path */
96 break;
97
98 case 'S': /* unix_socket_path */
99 args->unix_socket_path = strdup(optarg);
99 args->unix_socket_path = optarg;
100 break;
101
102 case 'm': /* shm_path */
100 break;
101
102 case 'm': /* shm_path */
103 args->shm_path = strdup(optarg);
103 args->shm_path = optarg;
104 break;
105
106 case 'l': /* shm_size */
107 parse_option_size("shm_size", optarg, &args->shm_size, &errp);
108 if (errp) {
109 fprintf(stderr, "cannot parse shm size: %s\n",
110 error_get_pretty(errp));
111 error_free(errp);

--- 152 unchanged lines hidden ---
104 break;
105
106 case 'l': /* shm_size */
107 parse_option_size("shm_size", optarg, &args->shm_size, &errp);
108 if (errp) {
109 fprintf(stderr, "cannot parse shm size: %s\n",
110 error_get_pretty(errp));
111 error_free(errp);

--- 152 unchanged lines hidden ---