mirror of
https://github.com/AdaCore/PolyORB.git
synced 2026-02-12 13:01:15 -08:00
generating code, all the -d* are for debugging. Do not enter a name in scope when it is a scoped name already present in scope (from previous checking). [Imported from Perforce change 6704 at 2006-12-01 20:00:39] Subversion-branch: /trunk/polyorb Subversion-revision: 34654
33 lines
1.1 KiB
Ada
33 lines
1.1 KiB
Ada
with Ada.Command_Line; use Ada.Command_Line;
|
|
|
|
with GNAT.OS_Lib; use GNAT.OS_Lib;
|
|
|
|
with Output; use Output;
|
|
|
|
procedure Usage is
|
|
begin
|
|
Set_Standard_Error;
|
|
Write_Str ("Usage: ");
|
|
Write_Str (Command_Name);
|
|
Write_Line (" opts file [-cppargs args]");
|
|
Write_Eol;
|
|
Write_Line (" name is a file from which you can omit the .idl suffix");
|
|
Write_Eol;
|
|
Write_Line (" -c Compile only");
|
|
Write_Line (" -E Preprocess only");
|
|
Write_Line (" -k Keep temporary files");
|
|
Write_Line (" -p Produce source on standard output");
|
|
Write_Eol;
|
|
Write_Line (" -gd Generate delegation package");
|
|
Write_Line (" -gi Generate implementation template");
|
|
Write_Line (" -gD Generate dynamic invocation code");
|
|
Write_Line (" -gI Generate interface repository code");
|
|
Write_Eol;
|
|
Write_Line (" -d? Compiler debug option");
|
|
Write_Eol;
|
|
Write_Line (" -cppargs Pass arguments to the C++ preprocessor");
|
|
Write_Line (" -I dir Provide a shortcut for -cppargs -I dir");
|
|
Write_Eol;
|
|
OS_Exit (1);
|
|
end Usage;
|