~ubuntu-branches/ubuntu/intrepid/xfsdump/intrepid

« back to all changes in this revision

Viewing changes to common/global.c

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2008-04-23 22:06:34 UTC
  • mfrom: (0.1.1 upstream) (3.1.1 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080423220634-7m8953nknbpz1nsv
Tags: 2.2.48-1
* New upstream release
* xfsdump depends on ${misc:Depends}
* Add debian/watch
* Add homepage control header
* Fix the following lintian issues:
  W: xfsdump source: package-uses-deprecated-debhelper-compat-version 1
  W: xfsdump source: ancient-standards-version 3.5.9 (current is 3.7.3)

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
                                mlog( MLOG_NORMAL,
128
128
                                      _("too many -%c arguments: "
129
129
                                      "\"-%c %s\" already given\n"),
130
 
                                      optopt,
131
 
                                      optopt,
 
130
                                      c,
 
131
                                      c,
132
132
                                      dumplabel );
133
133
                                usage( );
134
134
                                return 0;
136
136
                        if ( ! optarg || optarg[ 0 ] == '-' ) {
137
137
                                mlog( MLOG_NORMAL | MLOG_ERROR,
138
138
                                      _("-%c argument missing\n"),
139
 
                                      optopt );
 
139
                                      c );
140
140
                                usage( );
141
141
                                return 0;
142
142
                        }
147
147
                        if ( ! uuid_is_null( ghdrp->gh_dumpid )) {
148
148
                                mlog( MLOG_NORMAL | MLOG_ERROR,
149
149
                                      _("too many -%c arguments\n"),
150
 
                                      optopt );
 
150
                                      c );
151
151
                                usage( );
152
152
                                return 0;
153
153
                        }
154
154
                        if ( ! optarg || optarg[ 0 ] == '-' ) {
155
155
                                mlog( MLOG_NORMAL | MLOG_ERROR,
156
156
                                      _("-%c argument missing\n"),
157
 
                                      optopt );
 
157
                                      c );
158
158
                                usage( );
159
159
                                return 0;
160
160
                        }
162
162
                        if ( ! uuid_parse( optarg, ghdrp->gh_dumpid ) ) {
163
163
                                mlog( MLOG_NORMAL | MLOG_ERROR,
164
164
                                      _("-%c argument not a valid uuid\n"),
165
 
                                      optopt );
 
165
                                      c );
166
166
                                usage( );
167
167
                                return 0;
168
168
                        }
176
176
                        if ( ! optarg || optarg[ 0 ] == '-' ) {
177
177
                                mlog( MLOG_NORMAL | MLOG_ERROR,
178
178
                                      _("-%c argument missing\n"),
179
 
                                      optopt );
 
179
                                      c );
180
180
                                usage( );
181
181
                                return 0;
182
182
                        }