X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=NativeLauncher%2Ftool%2Fdotnettool.cc;h=4343b49ae5df73f2d790b4133509228bffd1f7f5;hb=ee561a8b4323bcd8f839950fa0b9074f6323fb85;hp=24d5e48080de39ff1d4bbbfe4e800ee3577c957a;hpb=52a05ff16a9cce1f37500544eaaaf7aff98028f8;p=platform%2Fcore%2Fdotnet%2Flauncher.git diff --git a/NativeLauncher/tool/dotnettool.cc b/NativeLauncher/tool/dotnettool.cc index 24d5e48..4343b49 100644 --- a/NativeLauncher/tool/dotnettool.cc +++ b/NativeLauncher/tool/dotnettool.cc @@ -188,6 +188,12 @@ int main(int argc, char* argv[]) } } + if (args.size() == 0) { + _SERR("The command is missing"); + DisplayUsage(); + return -1; + } + if (opt->flags & NI_FLAGS_INPUT_BUBBLE_REF && !(opt->flags & NI_FLAGS_INPUT_BUBBLE)) { _SERR("--inputbubbleref option should be used with --inputbubble option"); DisplayUsage();