hmml_to_html.c: Fix Usage text [#25]
This commit is contained in:
parent
b58226fd89
commit
048323e50f
|
@ -154,7 +154,6 @@ CopyBuffer(buffer *Dest, buffer *Src)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "CopyBuffer: %s cannot accommodate %s\n", Dest->ID, Src->ID);
|
fprintf(stderr, "CopyBuffer: %s cannot accommodate %s\n", Dest->ID, Src->ID);
|
||||||
__asm__("int3");
|
__asm__("int3");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*Dest->Ptr++ = *Src->Ptr++;
|
*Dest->Ptr++ = *Src->Ptr++;
|
||||||
|
@ -338,7 +337,6 @@ hsl_colour
|
||||||
CharToColour(char Char)
|
CharToColour(char Char)
|
||||||
{
|
{
|
||||||
hsl_colour Colour;
|
hsl_colour Colour;
|
||||||
|
|
||||||
if(Char >= 'a' && Char <= 'z')
|
if(Char >= 'a' && Char <= 'z')
|
||||||
{
|
{
|
||||||
Colour.Hue = (((float)Char - 'a') / ('z' - 'a') * 360);
|
Colour.Hue = (((float)Char - 'a') / ('z' - 'a') * 360);
|
||||||
|
@ -1226,7 +1224,7 @@ main(int ArgC, char **Args)
|
||||||
|
|
||||||
if(ArgC < 2)
|
if(ArgC < 2)
|
||||||
{
|
{
|
||||||
PrintUsage(Args[0], DefaultCSSDir, DefaultImagesDir, DefaultJSDir, DefaultQuoteDir, DefaultTemplateLocation, DefaultOutLocation);
|
PrintUsage(Args[0], DefaultCSSDir, DefaultImagesDir, DefaultJSDir, DefaultQuoteDir, DefaultOutLocation, DefaultTemplateLocation);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1258,7 +1256,7 @@ main(int ArgC, char **Args)
|
||||||
// Override config path, once we even have a default!
|
// Override config path, once we even have a default!
|
||||||
case 'h':
|
case 'h':
|
||||||
default:
|
default:
|
||||||
PrintUsage(Args[0], DefaultCSSDir, DefaultImagesDir, DefaultJSDir, DefaultQuoteDir, DefaultTemplateLocation, DefaultOutLocation);
|
PrintUsage(Args[0], DefaultCSSDir, DefaultImagesDir, DefaultJSDir, DefaultQuoteDir, DefaultOutLocation, DefaultTemplateLocation);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1266,7 +1264,7 @@ main(int ArgC, char **Args)
|
||||||
if(optind == ArgC)
|
if(optind == ArgC)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s: requires at least one input .hmml file\n", Args[0]);
|
fprintf(stderr, "%s: requires at least one input .hmml file\n", Args[0]);
|
||||||
PrintUsage(Args[0], DefaultCSSDir, DefaultImagesDir, DefaultJSDir, DefaultQuoteDir, DefaultTemplateLocation, DefaultOutLocation);
|
PrintUsage(Args[0], DefaultCSSDir, DefaultImagesDir, DefaultJSDir, DefaultQuoteDir, DefaultOutLocation, DefaultTemplateLocation);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue