blob: afeb0b9b4f16f0c35e61112330180d87189c04e7 [file] [log] [blame]
Stuart McCulloch2286f232012-06-15 13:27:53 +00001/*
2 * Copyright (c) OSGi Alliance (2012). All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package aQute.lib.getopt;
18
19import java.util.*;
20
21import aQute.libg.reporter.*;
22
23public interface CommandLineMessages extends Messages {
24
25 ERROR Option__WithArgumentNotLastInAvvreviation_(String name, char charAt, String typeDescriptor);
26
27 ERROR MissingArgument__(String name, char charAt);
28
29 ERROR OptionCanOnlyOccurOnce_(String name);
30
31 ERROR NoSuchCommand_(String cmd);
32
33 ERROR TooManyArguments_(List<String> arguments);
34
35 ERROR MissingArgument_(String string);
36
37 ERROR UnrecognizedOption_(String name);
38
39 ERROR OptionNotSet_(String name);
40
41}