Subversion Repositories SmartDukaan

Rev

Rev 24256 | Rev 24271 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24256 Rev 24265
Line 128... Line 128...
128
			if (args.containsOption("5")) {
128
			if (args.containsOption("5")) {
129
				int offset = Integer.parseInt(args.getOptionValues("offset").get(0));
129
				int offset = Integer.parseInt(args.getOptionValues("offset").get(0));
130
				scheduledTasks.processScheme(offset);
130
				scheduledTasks.processScheme(offset);
131
				System.exit(0);
131
				System.exit(0);
132
			}
132
			}
-
 
133
			if(args.containsOption("cancelOrder")) {
-
 
134
				List<String> invoiceNumbers = args.getOptionValues("invoiceNumber");
-
 
135
				runOnceTasks.cancelOrder(invoiceNumbers);
133
 
136
			}
-
 
137
			System.exit(0);
134
		}
138
		}
135
 
139
 
136
	}
140
	}
137
 
141
 
138
}
142
}